Hi,
I want to export my asuswrt merlin router's syslog to an OSSEC server.
As there is no Ossec client compatible with the router, I use Ossec's syslog support.
So far router's syslog is successfully exported to my Ossec server, though the last bit that prevents it to work is the log that is not compliant with the HEADER format:
The hostname (or its IP) is missing and thus Ossec can't parse/use it:
Busybox's syslogd doesn't seem to have such config to disable hostname print so it might come from elsewhere.
I tried to remove the -S option but with no impact.
Any idea on how I could fix this?
Thanks for your help
I want to export my asuswrt merlin router's syslog to an OSSEC server.
As there is no Ossec client compatible with the router, I use Ossec's syslog support.
So far router's syslog is successfully exported to my Ossec server, though the last bit that prevents it to work is the log that is not compliant with the HEADER format:
Code:
TIMESTAMP HOSTNAME
The hostname (or its IP) is missing and thus Ossec can't parse/use it:
Code:
Feb 1 10:01:36 syslogd exiting
Feb 1 10:01:49 syslogd started: BusyBox v1.20.2
Busybox's syslogd doesn't seem to have such config to disable hostname print so it might come from elsewhere.
I tried to remove the -S option but with no impact.
Any idea on how I could fix this?
Thanks for your help