How can I create an Alert that views my ILogger file?

David Thielen 3,121 Reputation points
2024-09-16T23:04:00.5966667+00:00

Hi all;

In Blazor we log to Microsoft.Extensions.Logging.ILogger logs. I want to get an alert when there is a log entry that matches the regex ^Error ##.##.##.* (used ## for 2 digits). There are alerts that can read Log Analytics. But is there a way to do the same with ILogger.

thanks - dave

AlertLogFile

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,285 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,584 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.