mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-08-20 22:48:21 +02:00
"zeekctl cron" writes node statistics to /nsm/zeek/logs/stats. The CPU and memory half comes from a helper that shells out to top, which the Zeek container does not include. The helper's "command not found" output is then parsed as process data, so every cron run appended a line per node reading "bad output from top", which so-log-check reports. Nothing wrote that file before, since log_stats and update_http_stats only run from "zeekctl cron". Set StatsLogEnable to 0 so neither runs, and mark it read only since the CPU and memory statistics cannot work with this image. The interface counters it also collects are not used anywhere in Security Onion, which tracks Zeek packet loss separately through packetloss.log and Telegraf, so nothing is lost by turning this off. Note in StatsLogExpireInterval that it does nothing while the stats log is off.