Thank you . It worked but 'remove' is not available for hash instead using 'delete' as below worked.
code => "
event['outputdata'].keys.each { |k|
event['outputdata'].delete(k) if k.start_with?('ID')
}
Thanks
Thank you . It worked but 'remove' is not available for hash instead using 'delete' as below worked.
code => "
event['outputdata'].keys.each { |k|
event['outputdata'].delete(k) if k.start_with?('ID')
}
Thanks
© 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.