Hello, can you please provide a sample example to upload xml file using logstash. I have tried a lot but unable to upload an xml file in logstash in windows machine. Waiting for the response.
Hello, in my windows machine, i have changed my path from as shown below,
path => "C:\Users\LENOVO\Downloads\stations.xml"
to
path => "C:/Users/LENOVO/Downloads/stations.xml"
and sincedb_path => "NUL"
and it is generating the response as shown above.
Please help me get correct output.
The correct output is obtained for below input code, hope this helps other people,
Also, max_lines number changes based on the maximum number of lines present in your xml file
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.