31 Mar 2023
	
		
		01:38 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		03 Apr 2023
	
		
		11:52 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 MaciejNeumann
		
			MaciejNeumann
		
		
		
		
		
		
		
		
	
			
		
Hello everyone,
I am trying to collect custom windows event log file which is located in this path :
Following documentation (https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/acquire-log-data/log-... and https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/acquire-log-data/log-... and https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/acquire-log-data/add-...) I tried several syntax without success. Ex :
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?
Solved! Go to Solution.
			
    
	
		
		
		05 Apr 2023
	
		
		08:42 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		14 May 2025
	
		
		07:20 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 AgataWlodarczyk
		
			AgataWlodarczyk
		
		
		
		
		
		
		
		
	
			
		
hi @jegron
The sintaxis seems ok, even with the considerations of the documentation.
But that sintaxis works fine with normal logs or files .log if you are trying to use .evtx you should use the full path according to the documentation
"You can use the built-in Windows Event Viewer to find the custom log name. Make sure that you provide the full path."
did you allready try that ?
Regards
11 Apr 2023 01:14 PM
Hi @rgarzon1 !
Finally find the right syntax :
