简体   繁体   English

Azure 负载均衡器日志分析

[英]Azure Load Balancer Log Analytics

I have an Azure Load Balancer, I have gone into the Load Balancer resource, Diagnostics logs and ticked 'Send to Log Analytics' and set to my Azure Log Analytics OMS Workspace.我有一个 Azure 负载均衡器,我进入了负载均衡器资源、诊断日志并勾选了“发送到 Log Analytics”并设置为我的 Azure Log Analytics OMS 工作区。

But when I go into the Log Analytics and run:但是当我进入 Log Analytics 并运行时:

AzureDiagnostics
| where Category == "LoadBalancerProbeHealthStatus" and TimeGenerated  > ago(3d)
| project ResourceGroup, Resource, TimeGenerated, port_d, totalDipCount_d, dipDownCount_d, healthPercentage_d

I don't get any results, can anyone help my understand how to make this work?我没有得到任何结果,任何人都可以帮助我了解如何进行这项工作吗?

Check to see if the Azure Diagnostics table in Log Analytics has reached the max 500 columns.检查 Log Analytics 中的 Azure 诊断表是否已达到最大 500列。

Can Run the following query to confirm:可以运行以下查询来确认:

AzureDiagnostics
|  getschema
| summarize AggregatedValue = count(ColumnName)

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

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