Elasticsearch query - show last log time

I have filebeat running on a Windows server that sends across multiple logs from various programs.
I am building a dashboard to show when each of the jobs last ran.

Is there a way to show how long ago the last log time (perhaps @timestamp) was received?

All I need is something simple like:

Job123 30 mins

Cheers!

Hi @theheatison,

that’s an interesting idea. So, basically you want a stat panel displaying a single value that represents the time elapsed between the last log received and now?

Not sure this is possible with Grafana out of the box, but it’s a pretty slick idea