Use the date from range query in painless script

Hello.
I am trying to use Scripted Metric Aggregation to perform some analysis on my data set.
The end user will be using a ranged query and I need to be able to import the date (gte and lt values) into a script param. Is it any way of doing it?

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