You can use the same algorithm, just don't call split on the field. Or better yet, call the array's index function. It returns the index in the array where the specified element is found.
Well thank you for your support and help. The issue got resolved.
Your community is so responsive and helpful which is one of the reason I prefer using ELK stack.
Though I have a new issue, but I will start a seprate chain for it.
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.