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

Remove namespace works on tags and doesn't work on attributes #60

Open
igorrev opened this issue Feb 8, 2019 · 1 comment
Open

Remove namespace works on tags and doesn't work on attributes #60

igorrev opened this issue Feb 8, 2019 · 1 comment
Assignees

Comments

@igorrev
Copy link

igorrev commented Feb 8, 2019

I have XML with namespace in tag names and attribute names. Option remove_namespaces => true works fine on tags but keep attributes with original names.

Example XML:

<x:recording xmlns:x="http://someURI" x:ref="0000000" x:version="10">
<x:finalized>true</x:finalized>
<x:master>true</x:master>
</x:recording>

Event after XML filter:
"recording": {
"x:ref": "0000000"
"x:version": "10",
"master": {
"content": "true"
},
"finalized": {
"content": "true"
}
}

Logstash 6.5.1

@jsvd jsvd assigned jsvd and colinsurprenant and unassigned jsvd Feb 12, 2019
@colinsurprenant
Copy link
Contributor

This seems to be a bug in the library. Will look if there is a bug fix for it.

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

3 participants