在Log Analytics从Azure VM获取日志时出现问题 [英] Problem getting logs from Azure VM at Log Analytics

查看:83
本文介绍了在Log Analytics从Azure VM获取日志时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将Azure VM连接到Azure Log Analytics工作区。

I had connected my Azure VM into my Azure Log Analytics Workspace.

但Log Analytics没有得到任何内容来自该特定Azure VM的日志。

But Log Analytics is not getting any logs from that particular Azure VM.

我可以知道是什么问题吗?我检查过Azure VM是否有互联网连接。

May I know what is the problem? I had checked that the Azure VM have internet connection.

问候。

Jun

推荐答案

嗨君,几个问题......这是Linux还是Windows VM? VM是内部部署还是Azure?这种配置过去曾经有效吗?您是否有其他可以测试的虚拟机?

Hi Jun, A few questions...Is this a linux or Windows VM? Is the VM on-premise or in Azure? Has this configuration ever worked in the past? Do you have additional VMs you can test with?

根据我的经验,配置VM日志数据和数据显示在工作区之间通常存在时间差。

In my experience, there is usually a time lag between when the VM log data is configured and when the data appears in the workspace.

还要分享
此引用
可能对您解决此问题很有用。

Also sharing this reference that may be useful for you to troubleshoot this issue.

如果您还没有看到这些,请参阅以下内容有关将VM日志数据连接到Log Analytics工作区的其他参考资料

Just in case you haven't seen these, below are additional references on connecting VM log data to Log Analytics workspace

1。
Azure VM

2。
在线虚拟机

希望这会有所帮助。

干杯。


这篇关于在Log Analytics从Azure VM获取日志时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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