SUM of two fields?

Hello,

I've got a metric with two metrics, SUM field A and SUM field B. I would like to add another metric that contains the SUM of field A and field B but this data is not in ES (Kibana would need to generate it from field A and B).

Is this possible? I tried doing some JSON but not knowing any programming language that didn't go too well. I'm not even sure if this would be possible using JSON.

You should be able to do it with a scripted field - https://www.elastic.co/guide/en/kibana/5.3/scripted-fields.html

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