-
Suggestion
-
Resolution: Unresolved
-
None
User Problem
There isn't currently a way to create alerts using the Azure Scheduled Query Rules. This used to work with the Azure OMS integration, but due to changes on the Azure side, you can't customize the payload anymore.
Suggested Solutions
An integration designed to handle the payload from the Azure activity log webhook
Current Workarounds
Pull the fields from the payload dynamically using the Azure OMS integration
For others needing this. a workaround is to use the existing Azure Event Hub integration.
Then to get at the log specific parameters use:
_payload.substringBetween("linkToFilteredSearchResultsUI=",",")
Change out the bold text with the name of the log parameter needed to be added to the alert msg.
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-common-schema#alert-context-fields-for-activity-log-alerts