Hi - I am ingesting uptime messages from some custom code that provides me with
UptimeXML=<nus><s u="true" s="1585627182" e="1585627182"/></nus>
's' is the start of an uptime period and 'e' is the end of that same period. Periods can be of different durations.
From this, I can use logstash to parse out the start and end epoch time of an 'up period'.
I don't get anything for 'down periods' - they are implied by their absence.
Using these events I would like to plot an 'uptime visualization' in Kibana - line or bar - showing the uptime periods above the horizontal axis and the implied downtime periods on the horizontal axis. Time running normally from left to right.
I am struggling to see how to do that - any bright sparks out there able to point me in the right direction so I can make a start?