基于日志的Azure监视器警报的自动化 [英] Automation of Log based Azure Monitor Alerts

查看:113
本文介绍了基于日志的Azure监视器警报的自动化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以基于KSQL / Log创建Azure Monitor警报分析查询是否自动化,例如使用Azure CLI?我知道az监视器指标alert create,
但它似乎不支持基于日志的警报。我正在寻找一种解决方案,其中KSQL查询和警报都可以自动化,无需手动先决条件。

解决方案

与Azure支持的Twitter交换:  https://twitter.com/CoffeeApplied/status/1120031959718211584

Can the creation of Azure Monitor Alerts based on KSQL / Log Analytics queries be automated, for example with Azure CLI? I know of az monitor metrics alert create, but it seems it does not support log based alerts. I am looking for a solution where the both the KSQL query and the alert can be automated, without manual prerequisites.

解决方案

Twitter exchange with Azure Support: https://twitter.com/CoffeeApplied/status/1120031959718211584


这篇关于基于日志的Azure监视器警报的自动化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆