Skip to content

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

@igorrev

Description

@igorrev

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions