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

How to output only specific fields from this filter? #44

Open
veeraraghavan-s opened this issue Mar 30, 2017 · 1 comment
Open

How to output only specific fields from this filter? #44

veeraraghavan-s opened this issue Mar 30, 2017 · 1 comment

Comments

@veeraraghavan-s
Copy link

Hi, Like we have include => in kv filter can we stop this filter output to specific fields/keys alone ? I can't find an include or an equivalent attribute in the documentation?

@jordansissel
Copy link
Contributor

You can use the xpath setting to select a part of the xml to store in a specific field: https://www.elastic.co/guide/en/logstash/current/plugins-filters-xml.html#plugins-filters-xml-xpath

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

2 participants