Syslog not getting parsed...
Hi all,
for some odd reason my syslog (and some others) are not getting parsed... The syslog is passed fine to the container (as I can
cat
the syslog file and see it being updated.
acquis:
Metrics:
8 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve
© Created By WhyAydan for CrowdSec ❤️
Having unparsed logs is normal, crowdsec only looks for patterns that is useful to it (for example, in auth logs, it would be auth failure).
Can you run
cscli collections list
and cscli parsers list
to see if the proper collections/parsers are installed ?So it doesn't even list unparsed lines in the metrics?
Linux collection &
crowdsecurity/syslog-logs
is presentah i misread your metrics
For the metrics to appear in
cscli metrics
, crowdsec must have read at least one line from the file
If you have nothing, it means nothing was readYeah that's what I thought... It's not reading any lines...
Or am I mistaking and is everything working correctly?
Remember to reload the service
And try sudo with bad password, it should pick auth.log within seconds
Okay, seems like rsyslog was uninstalled for some odd reason.... Solved now. Thanks!
Resolving Syslog not getting parsed...
This has now been resolved. If you think this is a mistake please run
/unresolve