/log-isms

Serilog implementation references (with Terraform, for cloud)

Primary LanguageHCLMIT LicenseMIT

log-isms

An experiment with Terraform, Serilog/.Net 5, Azure Monitoring, Log Analytics, AppInsights, AppServices and Diagnostics.

Implementations

There are two implementations:

Implementation Folder
AppService An experiment with Terraform, Serilog/.Net 5, Azure Monitoring, Log Analytics, AppInsights, AppServices and Diagnostics.
Functions An experiment with Terraform, Azure Monitoring, Log Analytics, AppInsights and Functions.

References

Link Description
https://carldesouza.com/how-to-create-custom-events-metrics-traces-in-azure-application-insights-using-c/ Creating custom events, metrics and traces in App Insights
https://codewithmukesh.com/blog/serilog-in-aspnet-core-3-1/ Setting up Serilog with 3.1
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-5.0 Environment variable / configuration providers
https://github.com/saleem-mirza/serilog-sinks-azure-analytics The Log Analytics Sink / Provider
https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core AppInsights
https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json Functions: host.json configuration