Scripted fields execute on Elasticsearch nodes, I believe the scripts are sent as-is to Elasticsearch nodes without a way to modify them on the fly, but I will try to confirm this for you.
Is the params._interval exclusive to TSVB then? I was hoping for Painless Scripting to be able to get the value of it from anywhere - even in Scripted Fields. Is there no API I can fetch this value from Painless Script?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.