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 "".