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

[Winlogbeat] Filter parameters don't work with .evtx files #16826

Closed
andrewkroh opened this issue Mar 5, 2020 · 2 comments · Fixed by #36173
Closed

[Winlogbeat] Filter parameters don't work with .evtx files #16826

andrewkroh opened this issue Mar 5, 2020 · 2 comments · Fixed by #36173

Comments

@andrewkroh
Copy link
Member

None of the event log filtering config options work with .evtx files. This includes ignore_older, event_id, level, and provider.

For confirmed bugs, please report:

  • Version: 7.6.0

The causes is that the generated XML query is not passed into the API call opening the evtx file at

h, err := win.EvtQuery(0, path, "", win.EvtQueryFilePath|win.EvtQueryForwardDirection)

One special thing to note is that a file URI must be used in the XML (discovered this last week when using querys with evtx files for testing). The current code does not do this automatically. For example the XML will need to use file://C:\some\file.evtx for it's Log value.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@botelastic
Copy link

botelastic bot commented Feb 3, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

Successfully merging a pull request may close this issue.

3 participants