I'm really new to Elasticsearch and Kibana.
At the moment I try to normalize a number field of a document. Therefore I want to use this formula within a scripted field:
So I need to compute min and max aggregation in the script, before compute the formula. Is it possible to store the aggregation result as variable and calculate the formula within the same script?
If yes, then how?
Thanks for your help!