Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damienbod/aspnetcore-azure-logging
Live logs, Azure App Insights logs with ASP.NET Core
https://github.com/damienbod/aspnetcore-azure-logging
app-insights aspnetcore azure logging serilog
Last synced: 21 days ago
JSON representation
Live logs, Azure App Insights logs with ASP.NET Core
- Host: GitHub
- URL: https://github.com/damienbod/aspnetcore-azure-logging
- Owner: damienbod
- License: mit
- Created: 2023-08-11T05:58:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-23T15:08:30.000Z (9 months ago)
- Last Synced: 2024-10-06T09:43:51.689Z (about 1 month ago)
- Topics: app-insights, aspnetcore, azure, logging, serilog
- Language: HTML
- Homepage: https://damienbod.com/2023/08/21/asp-net-core-logging-using-serilog-and-azure/
- Size: 1.3 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASP.NET Core logging in Azure
[![.NET](https://github.com/damienbod/aspnetcore-azure-logging/actions/workflows/dotnet.yml/badge.svg)](https://github.com/damienbod/aspnetcore-azure-logging/actions/workflows/dotnet.yml) [![Deploy to Azure](https://github.com/damienbod/aspnetcore-azure-logging/actions/workflows/azure-webapps-dotnet-core.yml/badge.svg)](https://github.com/damienbod/aspnetcore-azure-logging/actions/workflows/azure-webapps-dotnet-core.yml)
[ASP.NET Core Logging using Serilog and Azure]([https://damienbod.com](https://damienbod.com/2023/08/21/asp-net-core-logging-using-serilog-and-azure/))
Some KDL queries for the traces or the exceptions
```
traces
| where * hassuffix "my home"
and severityLevel >= 2
``````
exceptions
| where * hassuffix "FIND"
```## History
- 2024-01-14 Updated packages, remove AzureApp sink
- 2023-11-26 .NET 8
- 2023-08-27 clean up packages for Serilog## Links
https://github.com/rufer7/aspnetcore-serilog-azureappservice
https://github.com/serilog/serilog
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging
https://learn.microsoft.com/en-us/azure/azure-monitor/app/ilogger
https://learn.microsoft.com/en-us/azure/azure-monitor/app/tutorial-asp-net-core
https://jonathancrozier.com/blog/learning-the-kusto-query-language-with-application-insights-logs