Create an Alert from Azure Activity results

Copper Contributor

I would like to create an Alert that fires when someone requests "Just in time VM access". I can use the query below to surface these events in Logs but not sure how to turn that into and Alert. I have searched though the Alert signals and am unable to find one that maps to this:

 

AzureActivity
| where OperationName == "Initiate JIT Network Access Policy"
| where ActivityStatus == "Started"
3 Replies

@Byron Boudreaux 

 

Just press the "add alert" button.  Also create an Action Group with a email entry - if you want an email?

Annotation 2019-05-30 144107.png

 

Action groups: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/action-groups

Alerts: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-activity-log

 

@CliveWatson 

 

Thanks for the reply. Tried that method (have it in place now) and can't get the Alert to fire. Not sure why.

@CliveWatson 

This solution did work but the notifications were way delayed. Unfortunately this is an inherit "feature" of Logs where the data coming in is delayed from the event that generated the entries. Hopefully this will improve over time.