Math operations

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

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:

Hi,

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

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