25 Jul 2024
	
		
		05:49 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		25 Jul 2024
	
		
		08:33 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 MaciejNeumann
		
			MaciejNeumann
		
		
		
		
		
		
		
		
	
			
		
I am using serilog with Dynatrace sink for my Application logs. I have configured serilog Logger and also the dyantrace settings and run application but unable to see the logs in Logs and events.
{
"Name": "Dynatrace",
"Args": {
"accessToken": "XXXXXXXXXXxXXXXX",
"ingestUrl": "https://{environmentid}.live.dynatrace.com/api/v2/logs/ingest"
}
}
I was expecting that using accesstoken and ingestUrl the application logs will be added in dynatrace log and event using dynatrace API.
What am I missing.?
Thanks
Pankaj
29 Sep 2025 04:32 PM
Can you confirm that the Serilog .net framework is 2.9 or higher? More information can be found here: https://docs.dynatrace.com/docs/shortlink/lma-log-enrichment#example-of-manually-enriching-net-seril... 
