Created
December 23, 2024 14:35
-
-
Save collin-sanford/de60303ac247f4cf54e7400a4b231a2c to your computer and use it in GitHub Desktop.
Windows Logs via PS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure win32_event_log | |
echo "init_config: | |
instances: | |
- type: | |
- Information | |
- Critical | |
- Error | |
- Warning | |
- Audit Failure | |
- Audit Success | |
log_file: | |
- Application | |
- System | |
- Security | |
- Application | |
- Setup | |
logs: | |
- type: windows_event | |
channel_path: Application | |
source: Application | |
service: Application | |
sourcecategory: windowsevent | |
- type: windows_event | |
channel_path: Security | |
source: Security | |
service: Security | |
sourcecategory: windowsevent | |
- type: windows_event | |
channel_path: System | |
source: System | |
service: System | |
sourcecategory: windowsevent | |
- type: windows_event | |
channel_path: Setup | |
source: Setup | |
service: Setup | |
sourcecategory: windowsevent" > C:\ProgramData\Datadog\conf.d\win32_event_log.d\conf.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment