Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, it is possible to generate an Azure alert utilizing a Cosmos SQL query. Azure Monitor offers the ability to create alerts based on queries written in the Cosmos DB SQL language. This allows you to monitor and notify specific conditions in your data using the alerting mechanism of Azure Monitor. To create an alert based on Cosmos SQL query, you'll need to create a diagnostic setting that sends metrics and logs to Azure Monitor, configure a log search and alert rule that uses Cosmos SQL query, and specify an action to take when the alert is triggered.