XML filter, remove CDATA in Logstash
nzgringo opened this issue · 0 comments
nzgringo commented
Hi Team,
I would like to request the functionality to allow extraction XML content from inside a CDATA Tag in XML, currently the CDATA tags are also included in the output.
If an XPath is queried with the config below under Logstash Config, and URL Tag data below, the output data will include the CDATA Tags like this
URL Tag
<URL><![CDATA[http://dadom.com/wp-admin/]]></URL>
Logstash Config
xpath => [ "/Book/Book/BookDetails/URL/text()", "destination-field" ]
Thanks in advance.