Fixed lua manual
This commit is contained in:
parent
647778f009
commit
5fe0479464
@ -1,23 +1,10 @@
|
||||
### We have LUA support for processing NetFlow flows
|
||||
|
||||
It supported only for NetFlow v5 and sFLOW at this moment.
|
||||
|
||||
It's not compiled by default and you need build it explicitly.
|
||||
|
||||
Install dependency list (Debian 8 and Ubuntu 14.04 has it):
|
||||
```bash
|
||||
apt-get install -y libluajit-5.1-dev luajit lua-json
|
||||
```
|
||||
|
||||
Build it:
|
||||
```
|
||||
cmake -DENABLE_LUA_SUPPORT=ON ..
|
||||
make
|
||||
```
|
||||
It supported only for NetFlow v5 and sFLOW at this moment and enabled by default.
|
||||
|
||||
Please be aware! In Ubuntu 14.04 lua-json 1.3.1 is [buggy](https://bugs.launchpad.net/ubuntu/+source/lua-json/+bug/1443288) and should be upgraded to 1.3.2.
|
||||
|
||||
Fast and dirty fix for lua-json for Ubuntu 14.04:
|
||||
Fast fix for lua-json for Ubuntu 14.04:
|
||||
```bash
|
||||
wget https://raw.githubusercontent.com/harningt/luajson/1.3.3/lua/json/decode/util.lua -O/usr/share/lua/5.1/json/decode/util.lua
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user