Let's say I have time_1 and time_2 fields in my documents. I want to take the sum of all time_1 and divide it with the sum of all time_2 in my index.
On another visualization, I want to display this in Kibana via a Pie chart that divides the chart by the sum of time_1 and time_2.
Is there a way to do these? Thank you.