Filter for message field with specific pattern

I am getting data to Logstash from STOMP input, where my message prints as:

"message" => " < Name>\n <Value one="xyz" Two="abc" Three="123" Four="xuz" Five="1aj2" Six="123"/>\n <SecondValue One="123" Two="xyz" Three="xyz" Four="xyz"/>\n <ThirdValue One="xyz" Two="xyz" Three="xyz"/>\n < /Name>\n"

Whats the best way to match this pattern, in order to parse the fields? After each /n, there is also 5 white spaces.

It looks like XML data so the xml filter should be a good fit.

Thanks for your answer, that did the trick!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.