简体   繁体   English

Azure Log Analytics 查询不返回任何结果

[英]Azure Log Analytics query does not return any results

I am trying to run a query on the logs in Azure Log Analytics workspace but don't see any data for any duration.我正在尝试对 Azure Log Analytics 工作区中的日志运行查询,但在任何时间内都看不到任何数据。 Any idea why?知道为什么吗?

Alert 
| where TimeGenerated > ago(1h)
| summarize count() by AlertSeverity, bin(TimeGenerated, 1d)

Yes, the Alert table in Log Analytics contains information about alerts created by log alerts rules and SCOM alerts collected through Alert Management solution.是的,Log Analytics 中的警报表包含有关由日志警报规则创建的警报和通过警报管理解决方案收集的 SCOM 警报的信息。

You can view and manage your metrics alerts from the Azure portal by navigating to: Monitor > Alerts > Total alerts and looking at the ones which have Signal Type as Metric .您可以从 Azure 门户中查看和管理您的指标警报,方法是导航到: Monitor > Alerts > Total alerts alerts 并查看 Signal Type 为Metric的警报。

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

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