@@ -107,39 +107,40 @@ if($s)
107
107
108
108
- If the ** FromDate** and ** ToDate** parameters are not specified, logs are collected for the past four hours by default.
109
109
- Use the ** FilterByNode** parameter to filter logs by computer name. For example:
110
- Get-AzureStackLog -OutputPath <path > -FilterByNode azs-xrp01
110
+ ``` Get-AzureStackLog -OutputPath <path> -FilterByNode azs-xrp01 ```
111
111
- Use the ** FilterByLogType** parameter to filter logs by type. You can choose to filter by File, Share or WindowsEvent. For example:
112
- Get-AzureStackLog -OutputPath <path > -FilterByLogType File
112
+ ``` Get-AzureStackLog -OutputPath <path> -FilterByLogType File ```
113
113
- You can use the ** TimeOutInMinutes** parameter to set the timeout for log collection. It is set to 150 (2.5 hours) by default.
114
114
- In version 1805 and later, dump file log collection is disabled by default. To enable it, use the ** IncludeDumpFile** switch parameter.
115
115
- Currently, you can use the ** FilterByRole** parameter to filter log collection by the following roles:
116
- | | | | |
117
- | - | - | - | - |
118
- | ACS| Compute| InfraServiceController| QueryServiceCoordinator|
119
- | ACSBlob| CPI| Infrastructure| QueryServiceWorker|
120
- | ACSDownloadService| CRP| KeyVaultAdminResourceProvider| SeedRing|
121
- | ACSFabric| DatacenterIntegration| KeyVaultControlPlane| SeedRingServices|
122
- | ACSFrontEnd| DeploymentMachine| KeyVaultDataPlane| SLB|
123
- | ACSMetrics| DiskRP| KeyVaultInternalControlPlane| SlbVips|
124
- | ACSMigrationService| Domain| KeyVaultInternalDataPlane| SQL|
125
- | ACSMonitoringService| ECE| KeyVaultNamingService| SRP|
126
- | ACSSettingsService| EventAdminRP| MDM| Storage|
127
- | ACSTableMaster| EventRP| MetricsAdminRP| StorageAccounts|
128
- | ACSTableServer| ExternalDNS| MetricsRP| StorageController|
129
- | ACSWac| Fabric| MetricsServer| Tenant|
130
- | ADFS| FabricRing| MetricsStoreService| TraceCollector|
131
- | ApplicationController| FabricRingServices| MonAdminRP| URP|
132
- | ASAppGateway| FirstTierAggregationService| MonitoringAgent| Usage|
133
- | AzureBridge| FRP| MonRP| UsageBridge|
134
- | AzureMonitor| Gallery| NC| VirtualMachines|
135
- | AzureStackBitlocker| Gateway| Network| WAS|
136
- | BareMetal| HealthMonitoring| NonPrivilegedAppGateway| WASBootstrap|
137
- | BRP| HintingServiceV2| NRP| WASPUBLIC|
138
- | CA| HRP| OboService| WindowsDefender|
139
- | CacheService| IBC| OEM| |
140
- | Cloud| IdentityProvider| OnboardRP| |
141
- | Cluster| iDns| PXE| |
142
- | | | | |
116
+
117
+ | | | | |
118
+ | - | - | - | - |
119
+ | ACS| Compute| InfraServiceController| QueryServiceCoordinator|
120
+ | ACSBlob| CPI| Infrastructure| QueryServiceWorker|
121
+ | ACSDownloadService| CRP| KeyVaultAdminResourceProvider| SeedRing|
122
+ | ACSFabric| DatacenterIntegration| KeyVaultControlPlane| SeedRingServices|
123
+ | ACSFrontEnd| DeploymentMachine| KeyVaultDataPlane| SLB|
124
+ | ACSMetrics| DiskRP| KeyVaultInternalControlPlane| SlbVips|
125
+ | ACSMigrationService| Domain| KeyVaultInternalDataPlane| SQL|
126
+ | ACSMonitoringService| ECE| KeyVaultNamingService| SRP|
127
+ | ACSSettingsService| EventAdminRP| MDM| Storage|
128
+ | ACSTableMaster| EventRP| MetricsAdminRP| StorageAccounts|
129
+ | ACSTableServer| ExternalDNS| MetricsRP| StorageController|
130
+ | ACSWac| Fabric| MetricsServer| Tenant|
131
+ | ADFS| FabricRing| MetricsStoreService| TraceCollector|
132
+ | ApplicationController| FabricRingServices| MonAdminRP| URP|
133
+ | ASAppGateway| FirstTierAggregationService| MonitoringAgent| Usage|
134
+ | AzureBridge| FRP| MonRP| UsageBridge|
135
+ | AzureMonitor| Gallery| NC| VirtualMachines|
136
+ | AzureStackBitlocker| Gateway| Network| WAS|
137
+ | BareMetal| HealthMonitoring| NonPrivilegedAppGateway| WASBootstrap|
138
+ | BRP| HintingServiceV2| NRP| WASPUBLIC|
139
+ | CA| HRP| OboService| WindowsDefender|
140
+ | CacheService| IBC| OEM| |
141
+ | Cloud| IdentityProvider| OnboardRP| |
142
+ | Cluster| iDns| PXE| |
143
+ | | | | |
143
144
144
145
145
146
### <a name =" bkmk_gui " ></a >Collect logs using a graphical user interface
0 commit comments