The only workaround I'm aware of in 7.8 is to use Vega, which is not aware of scripted fields but lets you run full Elasticsearch queries (which can contain scripted fields).
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.