Hi All,
We have a monitoring pipeline available in out infrastructure for monitoring /var/log/messages logs.
filebeat -> kafka -> logstash -> elasticsearch -> elastalert.
We are using filebeat 8.0.1 to export system logs to the kafka topic.
Now the issue is that there maybe few servers where the /var/log/messages may not be present. So following possibilities may happen:
Scenario A: no logs in the /var/log/messages since last 1 day
Scenario B: /var/log/messages file is missing
How can we distinguish/detect the scenario A from scenario B? so that i can detect and create an alert for Scenario B using elastalert?
please advice.