Azure alert configuration using powershell

Dinesh N 1 Reputation point

I'm trying to configure azure alerts based on a custom log search using PowerShell. However, I'm not able to do that can someone help me with that.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,867 questions
{count} votes

1 answer

Sort by: Most helpful
  1. robert 1 Reputation point

    Looks like you're trying to create a log alert rule. That button "New alert rule" in your image will get you to the pane to configure the alert.

    Here's a possible guide to help you:

    The query language is Kusto Query Language (KQL), if you're looking to do something with PowerShell it wouldn't be in this query it would be a management-based activity.