简体   繁体   English

我们可以使用azure cli或powershell在azure中查看日志分析警报吗?

[英]Can we view a log analytics alert in azure using azure cli or powershell?

We can create/update/view Classic log analytics alerts in azure through azure powershell or cli. 我们可以通过azure powershell或cli在azure中创建/更新/查看Classic日志分析警报 Can we create/update/view a normal alert in log analytics using azure cli or powershell? 我们可以使用azure cli或powershell在日志分析中创建/更新/查看正常警报吗?

Nope, the CLI functions to do that aren't released yet. 否,尚未执行此操作的CLI功能。 The functionality should be released soon. 该功能应尽快发布。 They're moving log analytics alerts into the new Azure Security Insights. 他们正在将日志分析警报转移到新的Azure安全见解中。

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. 有一个rest API可以编辑警报,但不能编辑保存的搜索,因此它对更新查询没有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM