设置Suricata以eve-log形式输出,在运行Suricata的时候报出警告Eve-log support not compiled in:
- [ERRCODE: SC_ERR_NOT_SUPPORTED(225)] - Eve-log support not compiled in. Reconfigure/recompile with libjansson and its development files installed to add eve-log support.
解决步骤:
1.先查看是否已经安装好jansson和jansson-devel
没有装可以通过yum或者rpm包安装
2.安装了jansson和jansson-devel依旧没有能解决,那么需要在configure中进行配置
(1)先查看jansson和jansson-devel的位置find / -name “*jansson*”
(2)然后在configure中进行配置
./configure -with-libjansson libraries=/usr/lib64/ --with-libjansson-includes=/usr/include 其它你原来的设置
这样就OK啦