Calculating Sum for a Count aggregation in Kibana?


(Kulasangar Gowrisangar) #1

I'm having a Data Table type of graph, where I'm trying to display the number of count metric as per a daily timestamp.

Where I'm also having two filters in order to sort out the exact count.

This is how my table looks like.

What I need to know is, whether it's possible to calculate the Sum of both the counts per day within the same table?

In order to use the Sum aggregation I need a field, where as I want to show the Sum of the counts. Is it possible do it via a json input or a scripted field to calculate the sum of counts being displayed?

Any help could be appreciated.


(Spencer Alger) #2

Sorry, but you can't add the sum of two metrics as a column at this time


(Kulasangar Gowrisangar) #3

Thank you @spalger :slight_smile:


(system) #4

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