Hi,
I have used logstash 1.5.4 before and I am parsing XML log files which was worked nicely. Currently I have upgraded my Logstash to 2.2.1 and I trying to parse the XML file which was not parsing the fields as before.
My sample XML log file is as below
<err> <Variables> <item name="MS_PATH"> <value string = "serverpath/path"/> </item> </Variables> </err>
My XPATH coding
"/err/Variables/item[@name='MS_PATH']/value/@string","server_path"
Is my XPATH sysntax is correct or need to change my syntax as per the new version. Thanks in advance