Calculate percentages bases on elapsed duration

Hi,
I have logs from a phone device, and I would like to calculate how long from the time the device was operating, the wifi was active (
I use the elapsed filter to calculate the activity times (there are a start log and end log for each operation), and then I can use the violation tool to sum all these times.
How can I divide the wifi's total time by the device's total time?
In my understanding, it is not possible to do this through the Kibana, but I cannot do it through the Logstash since I want to sum up the elapsed duration in the log. Is there any other way to do what I want?

Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.