Summary: This post describes how to onboard Windows Event Logs as a custom log source in Dynatrace. It walks through required configuration steps, available options, and limitations.
Hello everyone,
I am trying to collect the custom Windows event log file, which is located in this path :
- C:\Windows\System32\winevt\Logs\MYLOG.evtx
Following documentation (Custom log source (Logs Classic) — Dynatrace Docs and https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/acquire-log-data/log-storage and Add log files manually (Logs Classic) — Dynatrace Docs) I tried several syntax without success. Ex :
- Type : Windows Event Log
Log Source : C:\Windows\System32\winevt\Logs\*MYLOG.*evtx - Type : Windows Event Log
Log Source : C:\Windows\System32\winevt\Logs\MYLOG - Type : Windows Event Log
Log Source : Windows\System32\winevt\Logs\MYLOG.evtx - Type : Windows Event Log
Log Source : MYLOG.evtx - Type : Log Path
Log Source : C:\Windows\System32\winevt\Logs\*MYLOG.*evtx
Same for Log storage configuration.
For information, we are using default security rules :
{
“directory-pattern”:“/windows/system32/winevt/Logs/”,
“file-pattern”:“*”,
“action”:“INCLUDE”
}
Does anyone have the right syntax?