{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/3422","labels_url":"https://api.github.com/repos/elastic/logstash/issues/3422/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/3422/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/3422/events","html_url":"https://github.com/elastic/logstash/issues/3422","id":87271491,"number":3422,"title":"XML Filter not parsing fields mentioned inside XPATH in Logstash 1.5.0","user":{"login":"Rajeshkumar123","id":7466386,"avatar_url":"https://avatars.githubusercontent.com/u/7466386?v=3","gravatar_id":"","url":"https://api.github.com/users/Rajeshkumar123","html_url":"https://github.com/Rajeshkumar123","followers_url":"https://api.github.com/users/Rajeshkumar123/followers","following_url":"https://api.github.com/users/Rajeshkumar123/following{/other_user}","gists_url":"https://api.github.com/users/Rajeshkumar123/gists{/gist_id}","starred_url":"https://api.github.com/users/Rajeshkumar123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rajeshkumar123/subscriptions","organizations_url":"https://api.github.com/users/Rajeshkumar123/orgs","repos_url":"https://api.github.com/users/Rajeshkumar123/repos","events_url":"https://api.github.com/users/Rajeshkumar123/events{/privacy}","received_events_url":"https://api.github.com/users/Rajeshkumar123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-11T09:13:22Z","updated_at":"2015-06-17T16:08:06Z","closed_at":null,"body":"When I pass the xml files to logstash via logcourier. The xml files are not parsing properly.\r\n\r\nBelow is my logstash code.\r\n\r\ninput{\r\ncourier {\r\nport => 10545 \r\ntransport => \"tcp\"\r\n\r\n}\r\n}\r\n\r\nfilter{\r\n\r\nif [type] == \"system_log\" {\r\n\r\n xml {\r\n    source => \"message\"\r\n    store_xml => false \r\n    xpath => [\r\n        \"/system/@message\",\"system_message\",         \r\n        \"/system/@detail\",\"detail\",\r\n        \"/system/@host\",\"host\",\r\n        \"/system/@user\",\"user\",\r\n        \"/system/@time\",\"timestamp\",\r\n        \"/system/@type\",\"Type\",\r\n        \"/system/item/@name\", \"systemNames\"\r\n]\r\n}\r\noutput{\r\nstdout{codec=>rubydebug}\r\n}\r\n\r\nIn my output I didnt see the fileds mentioned inside xpath. I am getting the entire xml in \"message\" field."},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/112862141","html_url":"https://github.com/elastic/logstash/issues/3422#issuecomment-112862141","issue_url":"https://api.github.com/repos/elastic/logstash/issues/3422","id":112862141,"user":{"login":"splashx","id":1154133,"avatar_url":"https://avatars.githubusercontent.com/u/1154133?v=3","gravatar_id":"","url":"https://api.github.com/users/splashx","html_url":"https://github.com/splashx","followers_url":"https://api.github.com/users/splashx/followers","following_url":"https://api.github.com/users/splashx/following{/other_user}","gists_url":"https://api.github.com/users/splashx/gists{/gist_id}","starred_url":"https://api.github.com/users/splashx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splashx/subscriptions","organizations_url":"https://api.github.com/users/splashx/orgs","repos_url":"https://api.github.com/users/splashx/repos","events_url":"https://api.github.com/users/splashx/events{/privacy}","received_events_url":"https://api.github.com/users/splashx/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T16:08:06Z","updated_at":"2015-06-17T16:08:06Z","body":"Please post a sample of your message."}}