Extended_stats script in Grafana

I would like to do math or if possible other aggregations on the outputs of extended_stats in Grafana.
My current goal is to divide doc count by 5. As I understand I should be able to do this by using scrip but I can not find any examples on extended_stats scripting (documentation is quite wage).

It would be even better if I could do other aggregations on output of extended_stats, like avg, min, max.

Is any of above possible is do how could I achieve it?


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