Hello there,
if I run nxtool.py with --whitelist --flatfile /var/log/nginx/error.log and the log has stuff like
[alert] 16676#16676: worker process 16678 exited on signal 11 (core dumped)\n is an invalid extlog or nxlog, string "ip=" not found.'] while parsing 2017/04/10 14:43:27 [alert] 16676#16676: worker process 16678 exited on signal 11 (core dumped) the whitelist generation fails.
Hello there, if I run
nxtool.py
with--whitelist --flatfile /var/log/nginx/error.log
and the log has stuff like[alert] 16676#16676: worker process 16678 exited on signal 11 (core dumped)\n is an invalid extlog or nxlog, string "ip=" not found.'] while parsing 2017/04/10 14:43:27 [alert] 16676#16676: worker process 16678 exited on signal 11 (core dumped)
the whitelist generation fails.Perhaps ignore stuff like that?