Hi All
{"log":"abc","system":"ABC","country":"India","ids":["111222","22233344"]}
logtag= event.get('system') --> value getting as ABC
itemIds = event.get('ids') --> Not getting
How can we take a String array value?
Hi All
{"log":"abc","system":"ABC","country":"India","ids":["111222","22233344"]}
logtag= event.get('system') --> value getting as ABC
itemIds = event.get('ids') --> Not getting
How can we take a String array value?
If the [ids] field exists then event.get('ids') will return it. What does your configuration look like. What makes you think event.get is not returning anything?
© 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.