Bug #1204
closedEVE syslog config parameters (identity, facility, level) do not work
Description
The YAML configuration parameters for eve-log syslog are not taking effect (the default is always used).
ex:
- eve-log:
enabled: yes
type: syslog
identity: "SuricataEVE"
facility: local0
level: Debug ## possible levels: Emergency, Alert, Critical,
## Error, Warning, Notice, Info, Debug
Regardless of what is set for identity, facility, and level, the log messages always come out as "suricata", "user", and "info" respectively. This is unless the syslog section is enabled, ex:
- syslog:
enabled: no
identity: "Suricata"
facility: local0
level: Debug ## possible levels: Emergency, Alert, Critical,
## Error, Warning, Notice, Info, Debug
If the syslog section is enabled then identity and facility are used correctly, but level still does not work.
I would recommend removing the dependency between the eve.json and syslog sections to allow to the above eve.json syslog parameters to take effect as intended.
Files