I have two scripted fields in my kibana index pattern, let's say "scripted field1" and "scripted field2".
Now I wanted to display sum(scripted field1)/sum(scripted field2) in my visualisation.
This kind of arithmetic operations after aggregation are available in tsvb, but as I am using scripted fields, so can't use that.
How can I proceed to get the result.
Thanks in advance