VM Insight警报在Log Analytics中不可用? [英] VM Insight Alerts not available in Log Analytics?

查看:114
本文介绍了VM Insight警报在Log Analytics中不可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的虚拟机的门户网站上看到了很多sev1警报(源VM Insights),或者当我检查该VM所在的资源组中的警报时。

I see a lot of sev1 alerts (source VM Insights) in portal for my virtual machines or when I check alerts in the resource group where that VM resides.

但是,当我通过单击RG或VM中的logs选项(或通过转到与VM关联的工作空间)来检查日志分析中的日志时,请键入query" ;警报" (即从范围内的RG或VM获取警报表中的所有数据),
我什么也看不见。我也检查了其他几个表,但是我在日志中找不到那些Sev1警报。

However, when I check the logs in log analytics by clicking the logs option in RG or VM (or by going to the workspace with which the VM is associated with) and type query "Alert" (i.e. to get all data from Alerts table for that RG or VM in scope), I see nothing. I have checked several other tables as well, but I couldn't find those Sev1 Alerts in logs.

您能否指导我如何在Log Analytics中查询这些警报?

Can you please guide on how can I query those alerts in Log Analytics?

推荐答案

嗨kaushik maji,

Hi kaushik maji,

感谢您的到来出。

恕我直言,您可能无法通过从"日志"磁贴查询"警报"表来查看这些警报历史记录,因为这些警报属于'公制'信号类型但不是'日志'。仅供参考,当您从"日志"磁贴中查询"警报"表时,您将能够看到仅有信号类型"日志"的
警报的历史记录。

IMHO you were probably not able to view those alerts history by querying 'Alert' table from 'Logs' tile because those alerts are of 'Metric' signal type but not 'Log'. FYI, when you query 'Alert' table from 'Logs' tile, you would be able to see history of alerts of signal type 'Log' only .

Azure监视器中的任何服务生成的所有警报均可在  所有
提醒页面
 及其 < a href ="https://docs.microsoft.com/en-us/%20rest/api/monitor/alertsmanagement/alerts"> API   /

GetHistoryAPI 功能;.

All alerts generated from any service in Azure Monitor are available in all alerts page and via its API / GetHistoryAPI .

希望这有帮助!!干杯!!

Hope this helps!! Cheers!!


这篇关于VM Insight警报在Log Analytics中不可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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