Calculation Aggregation Kibana 5.4.0

(Julio Guevara) #1

Hi, I been playing around with Kibana 5.4.0 new Visual Builder feature.

One of the aggregations i'm really curious about is the Calculation aggregation that allows you to run a Painless script and set variables. But i haven't found a way to get his working. Does anybody has an idea on how to use it currently.

I can even getting working by just returning the derivative i just calculated.

(Shaunak Kashyap) #2

In the Script field, try params.test instead of test.

(Chris Cowan) #3

Also, you don't need the return statement.

(Julio Guevara) #4

Nice. Thanks for the help :grinning:

(system) #5

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