I'm trying to make some basic monitoring for our test farm (currently evaluating if Kibana is an option for us).
Sometimes a test can hang which we currently do not detect. I was hoping to make something with Kibana that show me the "Time since last log/event". Lateron we could buy the watcher license for alerts.
I succeeded in making a metric and using top-hit I can display the timestamp of the most recent log message. I now want to do some basic math with it to display the difference between current system time and the timestamp.
I'm failing miserably at this, any input on where to look or help would be much appreciated.