How to get kibana time range filter value on a Scripted metric aggregation

Hi, I'm trying to retrieve the min and max of the time range set on kibana in a scripted metric aggregation (in the reduce_script part), if anyone has an idea on how to achieve this.

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