How to use watcher to detect if logs are missing

Hopefully I'm wording this correctly, here is what I'm trying to do, not sure where to start :wink:

I have these 4 servers, each with respective log paths and log files, I want to watch




How would I do a watcher that checks these servers/log locations and if (the last ingested) log files is older than 24 hours from now, it sends an alert?

Reason for doing this, is that if the logs are older than 24 hours, then probably there is an issue with log ingestion (filebeat or logstash died)

I'm consumer of the ELK/watcher service...

I don't manage ELK or have access to the ELK Stack infrastructure
so this would be indirect way to determine if log ingestion is not working


I would start with the newer Alerting option instead if possible. :slight_smile: I think you'll find the interface highly intuitive. Your workflow might looks something like this:

  • Set up a filebeat to consume logs on a regular interval
  • Set up an alert to monitor index containing log data based on some predefined threshold or condition
  • Get periodic updates via whichever actions you've specified (email, slack, etc.)

Hope that helps!



I am not sure I understood what exactly you are trying to do. Do you want to set Kibana or Elasticsearch alerting for this particular use-case (you would need some access to the stack then) or do you want to set up your own?