Executing runbooks on Alerts

One of the actions provided by a Log Analytics alert is to execute the Azure Automation runbook. This facility of executing runbooks on an alert provides the opportunity to act on the alert to remediate it and inform the relevant stakeholders using notifications.

  1. The first step in executing a runbook in response to an alert is to create an Azure Automation Account:
  1. After the account is provisioned, create a runbook, as shown in the following screenshot, to prove that it can be executed as part of the alert generation. In this case, the runbook sends an email as part of the notification. It uses Azure Automation ...

Get Azure for Architects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.