Logging to AWS Cloudwatch using Serilog in .Net core 5.0

Viewed 1455

I am new to .Net Core 5.0, I am unable to find any suitable guide to check how to setup logging to Cloudwatch using Serilog.

Currently, in our application, we are logging to file & console using Serilog. Now the requirement is to log in Cloudwatch also. Existing configuration is in appsettings.Development.json file where we have a section called "Serilog" which contains the "writeTo" section. Can anyone guide me how to set up logging in Cloudwatch using appsettings.json file ??

1 Answers
Related