Applying XML plugin on Kafka output message


#1

hi all,

I'm trying to apply XML plugin on kafka messages in logstash. So, the message itself is an xml but in string format, which makes impossible to apply xpath directly without preprocessing the message. Ideally, it should be converted to XML. I'm new to logstash, that's why a bit unsure of preprocessing techniques.

Is there a way to convert the string message xml so that it could be used in xml plugin? The message looks like "".

Cheers


(Magnus B├Ąck) #2

Is there a way to convert the string message xml so that it could be used in xml plugin?

The xml filter processes strings. There is no XML data type.

Didn't you post this question about a week ago, a question I responded to?

The message looks like "".

An empty string?


(system) #3

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