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

喜你入骨 提交于 2019-12-11 10:58:07

问题


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?


回答1:


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.

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.



来源:https://stackoverflow.com/questions/52854105/can-we-view-a-log-analytics-alert-in-azure-using-azure-cli-or-powershell

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!