-
Notifications
You must be signed in to change notification settings - Fork 814
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
[event_viewer] Improve comments in example configuration #1734
Conversation
6679faf
to
db1982a
Compare
Since you're updating the example, could you also add these options https://github.com/DataDog/dd-agent/blob/master/checks.d/win32_event_log.py#L30-L32 (there is already One other thing: could you update the format to have something similar to https://github.com/DataDog/dd-agent/blob/master/conf.d/disk.yaml.default, ie the description of the option and under an example ? (although we should keep both basic example) Thanks for the precisions you added ! 🍰 |
db1982a
to
0c4b97e
Compare
Thanks @degemer for your review! I hadn't realized how outdated the config file was so I've almost completely rewritten it, could you have a look now? |
Way way way better ! 👏
it will collect all events ? I don't think we want this anyway, do you know if there is a parameter always used ?
|
All the parameters are optional indeed, but we can probably set a default value on the log file that's captured ( |
0c4b97e
to
4c2e186
Compare
I've removed the To avoid sending thousands of events in case an instance's filters aren't specific enough, we could:
I'm open to suggestions if you think there's a better solution :) |
Discussed with @degemer, we'll leave an uncommented dash in the example yaml as it doesn't define a valid instance by itself (so the config file doesn't collect all the events as-is). Merging |
…r-doc [event_viewer] Improve comments in example configuration
Linked to DataDog/documentation#442 and https://github.com/DataDog/dogweb/pull/8622
Closes #1439