Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML filter, remove CDATA in Logstash #58

Open
nzgringo opened this issue Aug 28, 2018 · 0 comments
Open

XML filter, remove CDATA in Logstash #58

nzgringo opened this issue Aug 28, 2018 · 0 comments

Comments

@nzgringo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant