Actions
Feature #247
closedConfig option to set stats.log update interval
Effort:
Difficulty:
Label:
Description
In src/counters.h SC_PERF_MGMTT_TTS is hardcoded to 8 sec.
This makes the stats.log file large fast, and I dont need "real-time" stats updates :)
Also, my way of graphing suricata in munin does not need more than an update each 5 minutes.
I therefor propose an option in the suricata.yaml to be able to manually overwrite the default,
without recompiling suricata :)
Files
Updated by Victor Julien about 14 years ago
- Assignee set to Victor Julien
- Target version set to 1.1beta2
I agree this should be configurable. Also maybe some ppl want to disable stats completely, so that should be an option as well.
Updated by Gurvinder Singh about 14 years ago
- File 0001-support-for-stats.log-configurable-and-fixed-timezon.patch 0001-support-for-stats.log-configurable-and-fixed-timezon.patch added
- Status changed from New to Resolved
- Assignee changed from Victor Julien to Gurvinder Singh
- % Done changed from 0 to 90
Attached patch provides the support.
Updated by Victor Julien about 14 years ago
- File 0001-Fix-compiler-warnings-cleanup-counters-config-code.patch 0001-Fix-compiler-warnings-cleanup-counters-config-code.patch added
- Due date set to 12/17/2010
- Status changed from Resolved to Closed
- % Done changed from 90 to 100
- Estimated time set to 5.00 h
Applied thanks Gurvinder. alert-fastlog.c had a compiler warning and I cleaned up the counters.c code a bit. See attached patch.
Actions