简体   繁体   English

如何监控Azure中的虚拟机日志文件

[英]How to monitor virtual machine log files in Azure

Does Azure provide service for reading custom log files from virtual machines and visualizing it. Azure 是否提供从虚拟机读取自定义日志文件并将其可视化的服务。 For example reading boot.log from linux virtual machine and show latest 10 rows in Azure.例如从 linux 虚拟机读取 boot.log 并在 Azure 中显示最新的 10 行。

The Custom Logs data source in Azure Monitor allows you to collect events from text files on both Windows and Linux computers. Azure 监视器中的自定义日志数据源允许您从 Windows 和 Linux 计算机上的文本文件中收集事件。 Many applications log information to text files instead of standard logging services such as Windows Event log or Syslog.许多应用程序将信息记录到文本文件而不是标准记录服务,例如 Windows 事件日志或 Syslog。 Once collected, you can either parse the data into individual fields in your queries or extract the data during collection to individual fields.收集后,您可以将数据解析到查询中的各个字段中,也可以在收集期间将数据提取到各个字段中。

Please refer this link for more details.请参阅此链接了解更多详情。

Boot info are included on Vm once you created it this option.一旦你创建了这个选项,启动信息就会包含在 Vm 上。 Bot log机器人日志

Custom logs could be extrated with OMS agent also, at least few moths ago, with Diagnostic extension Agent Overview agents .至少几个月前,OMS 代理也可以使用诊断扩展代理概览代理提取自定义日志。 The main diference beteween both is the place where data is sent: Azure Storage or Azure Monitor两者之间的主要区别是发送数据的地方:Azure Storage 或 Azure Monitor

暂无
暂无

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

相关问题 如何使用 Kusto 日志查询、Azure Monitor 读取/获取虚拟机后台进程 - How to read/get Virtual machine background processes using Kusto LOg query , Azure Monitor 如何使用 terraform 在虚拟机中启用 azure 监视器? - How to enable azure monitor in virtual machine using terraform? 如何根据 azure 监视器警报调整虚拟机磁盘大小 - How to resize disk of virtual machine based on the azure monitor alert 当我的虚拟机磁盘空间不足时如何创建 azure 监视器警报 - How to create azure monitor alert when my disk space low in virtual machine Azure 监控日志 - 虚拟机规模集指标 - Azure Monitor Logs - Virtual Machine Scale Set Metrics 虚拟机文件存储在Windows Azure中的什么位置以及如何使用Azure SDK检索它们? - where does the virtual machine files are stored in Windows Azure and how to retrieve them with Azure SDK? 如何使用 REST API 或 Nodejs ZF20E3C5E604C0AB3D6FAZFZ 将 azure 虚拟机与日志分析工作区连接起来? - How to connect azure virtual machine with log analytics workspace using REST API or Nodejs SDK? 在 Azure 机器学习中,日志文件存储在哪里? - In Azure Machine Learning, where are log files stored? 无法登录使用资源管理器创建的Azure虚拟机 - Can't Log into Azure Virtual Machine created w/ Resource Manager Microsoft Azure 是否保留虚拟机访问的 IP 地址的日志? - Does Microsoft Azure keep a log of IP Addresses visited by a Virtual Machine?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM