I am using ELK Stack 7.3.2 and working on a use case where a query that displays all rows which will have not had an update within 3 minutes as status=DOWN.
I am using Canvas to visualize events from Kafka topic. Lets say I get a message like this:
and then within 3 minutes I would not get it.
In ES SQL I would be something like this but I am not able to get it work.
filters | essql query="SELECT processName, processType, hostname, \"@timestamp\" as Time FROM \"boris-index\" WHERE \"@timestamp\" < NOW() - INTERVAL 3 MINUTES AND \"@timestamp\" < TODAY()" | table | render
I would like to be able to show status=DOWN when I have not get an update within 3 minutes. Then it would be helpful to combine with another query which and able to show that row is now of status=UP
Please help me out.