Your pattern appears to be wrong. If you want to combine all the lines that follow the <control version="1" line up until the next occurrence of that pattern then use
pattern => "^<control"
The values for negate and what look OK.
Note that your prod_details element is not valid XML. If it really looks like that you will get parse failures.
Can you give me a general idea on how to do it? I can't paste the actual xml file due to sensitivity of the file. But it pretty much is like the example I gave. It have different tags and various values in them.
Any leads would be helpful. There are no videos or links for proper parsing of xml data to Elastic search. So any leads you can give me now, I'll take it
Considering my previous xml file, I would like to get different fields within each tag
say for example, we have the cust_details. I want to extract the different fields available in them - cust_name, cust_city, cust_state.
How do I achieve this
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.