I have two entries of message event, which has two array fields i have to find out maximum length of these array.
Is there any ways.?
I have two entries of message event, which has two array fields i have to find out maximum length of these array.
Is there any ways.?
Do you want to find the maximum value of the elements of the array and store that value into a field (either by overwriting the array field or creating a new field), or are you talking about an Elasticsearch query? In the former case you'll probably have to use the ruby filter and write a small Ruby snippet.
Yes want to find the maximum value of the elements of the array and store that value into a field (either by overwriting the array field or creating a new field.
Well, you seem to be on the right track given your other post (below). Please try to keep related questions together.
Sure .
Thanks for your help!
© 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.