Calculation Aggregation Kibana 5.4.0

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.

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

Also, you don't need the return statement.

Nice. Thanks for the help :grinning:

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