Math operations

(Danilo) #1


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.



(Lionel Froment) #3


we recently released a Kibana plugin that should do the job.
Check it out there

(system) #4

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