I have a number of separate searches (elasticsearch) that produce simple metric visualisations. Each of these visualisations is a simple total (integer). That's easy enough.
What I'd like to be able to do is work out the conversion rates between pairs of those metrics. As an example:
Metric 1: Metric 2: Conversion Calculation: Conversion Rate:
15312 9760 (9760 / 15312) * 100 63.74%
It seems like something that should be possible in Kibana 4 but I've just spent several hours playing around with my data (+ searching for examples) but haven't been able to solve this problem.
Has anyone else tried the same thing and had better results? I know that Kibana has scripted fields—but I need some sort of scripted aggregation.