【Azure Cloud Service】微软云服务上的日志路径补充

在之前的博文(【Azure Cloud Service】微软云服务上的日志收集方法 :https://www.cnblogs.com/lulight/p/18829550)中,介绍了如何收集云服务(Cloud Service(extended support))的日志,本文是对之前的路径进行一个补充。


Azure logs

C:\WindowsAzure\Logs

C:\WindowsAzure\Logs\AggregateStatus

C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<latest extension version>

C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<latest extension version>\WAD0107

WAD status files

C:\Packages\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<latest extension version>\Status

 

WAD config on the VM

C:\Packages\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<latest extension version>\RuntimeSettings

 

VM config, extension config and history

C:\WindowsAzure\Config

 

MA Config

C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<latest extension version>\WAD0107\Configuration\maconfig.xml

 

MaEventTable.csv 

i. Locate table2csv.exe C:\Packages\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<version>\monitor\x64\table2csv.exe

ii. Find the location of table file (maeventtable.tsf). Path will be something like: C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<DiagnosticsVersion>\WAD0107\Tables

iii. In elevated mode of command prompt, cd to above path (ii)

iv. In the same cmd, execute <PATH>\table2.csv.exe maeventtable.tsf

v. A new file maeventtable.csv will get created in the same path as corresponding tsf

 

MaQosEvent.csv 

i. Locate table2csv.exe – Should be here C:\Packages\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<version>\monitor\x64\table2csv.exe

ii. Find the location of table file (MaQosEvent.tsf). Path will be something like: C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Diagnostics.IaaSDiagnostics\<DiagnosticsVersion>\WAD0107\Tables

iii. In elevated mode of command prompt, cd to above path (ii)

iv. In the same cmd, execute <PATH>\table2.csv.exe MaQosEvent.tsf

v. A new file MaQosEvent.csv will get created in the same path as corresponding tsf

 

参考资料

TSF日志说明:https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/azure-diagnostics-troubleshooting#local-log-extraction

 

posted @ 2025-05-22 20:02  路边两盏灯  阅读(12)  评论(0)    收藏  举报