I have been using Kibana 5 successfully for various dashboards that take great advantage of the time domain zoom, both from the top right quick links that allow quick, relative and absolute, as well as the drag in graph functionality.

However, I find it difficult to interpret the time domain from the axis on the various graphs, and would very much like to display the number of hrs represented in the current time domain as a simple metric visualization.

Note this is specifically "what is the size of the filter window in hours", it is not "what is the time between the first and last found data entries" in the window.

I am struggling to find the approach to get this into the simple visualization metric.

I can find no applicable examples of visualization / metric / advanced / JSON input

So i do not see how to have the relevant aggregation or how to capture the limits of the time domain filter as the current view ( and calculation out into hrs )

Any help greatly appreciated.