我们可以使用azure cli或powershell在azure中查看日志分析警报吗? [英] Can we view a log analytics alert in azure using azure cli or powershell?
问题描述
我们可以通过azure powershell或cli在azure中创建/更新/查看经典日志分析警报。我们是否可以使用azure cli或powershell在日志分析中创建/更新/查看常规的警报?
We can create/update/view Classic log analytics alerts in azure through azure powershell or cli. Can we create/update/view a normal alert in log analytics using azure cli or powershell?
推荐答案
不,用于此操作的CLI功能尚未发布。该功能应尽快发布。他们正在将日志分析警报转移到新的Azure安全洞察中。
Nope, the CLI functions to do that aren't released yet. The functionality should be released soon. They're moving log analytics alerts into the new Azure Security Insights.
其中有一个其余API 能够编辑警报,但无法编辑已保存的搜索,因此对更新查询无用
There's a rest API that is able to edit alerts, but it can't edit saved searches, so it's useless for updating the queries.
这篇关于我们可以使用azure cli或powershell在azure中查看日志分析警报吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!