Skip to content

Commit

Permalink
Document the max number of IDs that can be used for filtering per ins…
Browse files Browse the repository at this point in the history
…tance (#9749)

* document event id filtering limitation

* changed wording up a bit

* changed wording up a bit

* Update win32_event_log/datadog_checks/win32_event_log/data/conf.yaml.example

Co-authored-by: Jorie Helwig <[email protected]>

* Update win32_event_log/datadog_checks/win32_event_log/data/conf.yaml.example

Co-authored-by: Jorie Helwig <[email protected]>

* edit spec to include new note in conf.yaml.example

* edit spec to generate new config template

Co-authored-by: Jorie Helwig <[email protected]>
  • Loading branch information
steveny91 and jtappa authored Jul 22, 2021
1 parent 3a5d2a3 commit 207ba57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions win32_event_log/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ files:
- type > https://docs.microsoft.com/en-us/windows/win32/eventlog/event-types
- id > https://docs.microsoft.com/en-us/windows/win32/eventlog/event-identifiers
/\ WARNING /\
Due to a limitation in the Windows events API, the maximum filtering on event IDs is 20 IDs per instance.
Because of this, you may need to split the ID filtering into multiple instances.
For advanced and more granular filtering, define a `query`.
If `filters` nor `query` is specified, then all events from the subscribed `path` will be collected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ instances:
## - type > https://docs.microsoft.com/en-us/windows/win32/eventlog/event-types
## - id > https://docs.microsoft.com/en-us/windows/win32/eventlog/event-identifiers
##
## /\ WARNING /\
## Due to a limitation in the Windows events API, the maximum filtering on event IDs is 20 IDs per instance.
## Because of this, you may need to split the ID filtering into multiple instances.
##
## For advanced and more granular filtering, define a `query`.
##
## If `filters` nor `query` is specified, then all events from the subscribed `path` will be collected.
Expand Down

0 comments on commit 207ba57

Please sign in to comment.