@Badger i tried to replicate the below ruby code,
I used something like below and was getting error,
ruby { code => 'event['result'].keys.each { |k| event['result'].remove(k) if k.end_with?('.value')' }
can you provide some ruby code example for my scenario.
Thanks Gautham
© 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.