The suggestion to use a filter was here. This post solves a different problem, but shows you how to get the event data and to add a field. Now you just need add code to iterate over the fields.
© 2020. All Rights Reserved - Elasticsearch
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.