Math operations


(Danilo) #1

Hi,

Is it possible to use one field aggregation in another field aggregation script?

I was looking for something like this
(sum(quantity) / count(unique)) * 60


(Jon Budzenski) #2

Generally speaking, it is with pipeline aggregations. Your use case would call for a bucket script aggregation, which is supported by TSVB. Timelion can do this as an extra processing layer.

TSVB:

Timelion:


(Lionel Froment) #3

Hi,

we recently released a Kibana plugin that should do the job.
Check it out there https://github.com/datasweet-fr/kibana-datasweet-formula


(system) #4

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