如何使用az命令将Azure虚拟机的日志发送到日志分析工作区 [英] How to send logs of Azure Virtual Machine to log analytics workspace using az command

查看:313
本文介绍了如何使用az命令将Azure虚拟机的日志发送到日志分析工作区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过配置Azure虚拟机诊断扩展,我可以默认配置将虚拟机日志发送到Azure存储帐户。

By configuring the Azure Virtual Machine diagnostics extension I am able to send logs of Virtual machine to Azure storage account by default configuration.

如何发送虚拟机日志使用az命令记录分析工作区。

How can I send logs of virtual machine to log analytics workspace using az command.

推荐答案

您能详细说明您想要实现的方案吗?您为什么要使用cli手动将数据推送到日志分析? 
Can you elaborate on the scenario you are looking to achieve? Why are you looking to manually push data to log analytics using cli? 


这篇关于如何使用az命令将Azure虚拟机的日志发送到日志分析工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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