-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] XML filtering #1054
Comments
#1218 adds the ability to do simple filtering based on event_id, provider, and level. Before adding the ability to specify arbitrary XML queries which can read from multiple logs, we need to change how "bookmarks" are persisted. Currently "bookmarks" are limited to a single event log so if a query read from multiple logs we wouldn't be able to persist all of the read positions. So a change needs to be made to allow writing the read position of all logs involved in a query (probably we will just persist the Windows XML bookmark). Once that change is made then we can allow XML queries to be used. |
We would like to switch to Winlogbeat but without better support for event filtering unfortunately we can not. On the other hand, we do not need the full functionality of XML filtering, which requires substantial modification in Winlogbeat, but we would be satisfied with the XPath Query used for individual events channel:
where event_logs.select could be ORed with the XPath Query created using event_logs.eventid, event_logs.level and event_logs.provider or could be used mutually exclusive. |
Hows this coming along, is using xml filtering an option yet in winlogbeat? |
Has there been any additional work on this? It is a crucial feature for most security monitoring use cases. |
Winlogbeat: please add the ability to parse nested XML. Currently only the "event_data" is not parsed when it's in XML format. |
This issue isn't about parsing nested XML. It's about allowing the user to define a query using the native XML format accepted by Windows for selecting the events to subscribe to. |
It should be possible to implement this now given that winlogbeat uses bookmarks in the registry. Each event log reader stores its state based on the
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
The Windows API allows XML filtering of events - so you can only subscribe to "useful" events rather than the general torrent, again something I've used heavily in the past with nxlog.
The text was updated successfully, but these errors were encountered: