Determine which services are no longer sending a heartbeat message

Hi, I'm trying to create a data table visualization that will return records for services that are no longer sending a heartbeat. For example Service 1 was sending a heartbeat then stopped 5 minutes ago. There's not a top-level field that I can key off to use a NOT EXISTS clause. So I was considering querying for a documents that match routing_key: service.heartbeatthen returning all services that have a timestamp older than 5 minutes but not records that have a timestamp less than 2 minutes old. I've tried leveraging MAX bucket and a time range but it doesn't want to work for me. Any suggestions on how to approach this would be much appreciated!

Have you tried using the uptime application to view service status? Uptime will show you when services have not received heartbeat messages.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.