I have a couple of questions and I think they are related but I could be wrong.
Currently using Kibana 7.15.0
My data comes in every 5 minutes and looks like this.
[{Server:"id", requests_since_server_started: , timestamp: }, ... ]
I want to display the total number of requests processed in a time increment broken down by server. Seems easy enough, in the dashboard the horizontal axis is a date histogram and the vertical axis is a difference of a sum of the requests_since_server_started. It looks fine during normal operations but every now and then there are issues:
-
If the dashboard refresh is less than the time increment on the horizontal axis my numbers are incorrect. Is there a way to tie the refresh rate of the dashboard to the selected data range? Or is there a better way to handle displaying the difference of a sum?
-
The server resets the value back to 0 when it restarts. That causes the difference to go negative. Is there a commonly accepted way to calculate the difference for values that occasionally reset?