You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/analyze-files-metrics.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,17 @@ Metrics for Azure Files are in these namespaces:
30
30
- Microsoft.Storage/storageAccounts
31
31
- Microsoft.Storage/storageAccounts/fileServices
32
32
33
-
For a list of available metrics for Azure Files, see [Azure Files monitoring data reference](storage-files-monitoring-reference.md).
33
+
For a list of available metrics for Azure Files, see [Azure Files monitoring data reference](storage-files-monitoring-reference.md#supported-metrics-for-microsoftstoragestorageaccountsfileservices).
34
34
35
-
For a list of all Azure Monitor support metrics, which includes Azure Files, see [Azure Monitor supported metrics](/azure/azure-monitor/essentials/metrics-supported#microsoftstoragestorageaccountsfileservices).
35
+
For a list of all Azure Monitor supported metrics, which includes Azure Files, see [Azure Monitor supported metrics](/azure/azure-monitor/reference/supported-metrics/metrics-index#supported-metrics-per-resource-type).
36
+
37
+
## View Azure Files metrics data
38
+
39
+
You can analyze Azure Files metrics by using the Azure portal, PowerShell, Azure CLI, or .NET.
36
40
37
41
### [Azure portal](#tab/azure-portal)
38
42
39
-
You can analyze metrics for Azure Storage with metrics from other Azure services by using Metrics Explorer. Open Metrics Explorer by choosing **Metrics** from the **Azure Monitor** menu. For details on using this tool, see [Analyze metrics with Azure Monitor metrics explorer](/azure/azure-monitor/essentials/analyze-metrics).
43
+
You can analyze metrics for Azure Storage with metrics from other Azure services by using Azure Monitor Metrics Explorer. Open metrics explorer by choosing **Metrics** from the **Azure Monitor** menu. For details on using this tool, see [Analyze metrics with Azure Monitor metrics explorer](/azure/azure-monitor/essentials/analyze-metrics).
40
44
41
45
For metrics that support dimensions, you can filter the metric with the desired dimension value. For a complete list of the dimensions that Azure Storage supports, see [Metrics dimensions](storage-files-monitoring-reference.md#metrics-dimensions).
The following tables list the properties for Azure Storage resource logs when they're collected in Azure Monitor Logs or Azure Storage. The properties describe the operation, the service, and the type of authorization that was used to perform the operation.
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-monitoring.md
+33-36Lines changed: 33 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,14 +140,14 @@ Metrics for Azure Files are in these namespaces:
140
140
141
141
For a list of available metrics for Azure Files, see [Azure Files monitoring data reference](storage-files-monitoring-reference.md).
142
142
143
-
For a list of all Azure Monitor support metrics, which includes Azure Files, see [Azure Monitor supported metrics](/azure/azure-monitor/essentials/metrics-supported#microsoftstoragestorageaccountsfileservices).
143
+
For a list of all Azure Monitor supported metrics, which includes Azure Files, see [Azure Monitor supported metrics](/azure/azure-monitor/essentials/metrics-supported#microsoftstoragestorageaccountsfileservices).
144
144
145
-
For detailed instructions on how to analyze Azure Files metrics such as availability, latency, and utilization, see [Analyze Azure Files metrics using Azure Monitor](analyze-files-metrics.md).
145
+
For detailed instructions on how to access and analyze Azure Files metrics such as availability, latency, and utilization, see [Analyze Azure Files metrics using Azure Monitor](analyze-files-metrics.md).
146
146
147
147
<aname="analyzing-logs"></a>
148
148
### Analyze logs for Azure Files
149
149
150
-
You can access resource logs either as a blob in a storage account, as event data, or through Log Analytics queries. For information about how to find those logs, see [Azure resource logs](/azure/azure-monitor/essentials/resource-logs).
150
+
You can access resource logs either as a blob in a storage account, as event data, or through Log Analytics queries. For information about how to send resource logs to different destinations, see [Azure resource logs](/azure/azure-monitor/essentials/resource-logs).
151
151
152
152
To get the list of SMB and REST operations that are logged, see [Storage logged operations and status messages](/rest/api/storageservices/storage-analytics-logged-operations-and-status-messages) and [Azure Files monitoring data reference](storage-files-monitoring-reference.md).
153
153
@@ -169,47 +169,44 @@ Requests made by the Azure Files service itself, such as log creation or deletio
169
169
<!-- Add sample Kusto queries for your service here. -->
170
170
Here are some queries that you can enter in the **Log search** bar to help you monitor your Azure file shares. These queries work with the [new language](../../azure-monitor/logs/log-query-overview.md).
171
171
172
-
- View SMB errors over the last week
172
+
- View SMB errors over the last week.
173
173
174
-
```Kusto
175
-
StorageFileLogs
176
-
| where Protocol == "SMB" and TimeGenerated >= ago(7d) and StatusCode contains "-"
177
-
| sort by StatusCode
178
-
```
179
-
- Create a pie chart of SMB operations over the last week
174
+
```Kusto
175
+
StorageFileLogs
176
+
| where Protocol == "SMB" and TimeGenerated >= ago(7d) and StatusCode contains "-"
177
+
| sort by StatusCode
178
+
```
179
+
- Create a pie chart of SMB operations over the last week.
180
180
181
-
```Kusto
182
-
StorageFileLogs
183
-
| where Protocol == "SMB" and TimeGenerated >= ago(7d)
184
-
| summarize count() by OperationName
185
-
| sort by count_ desc
186
-
| render piechart
187
-
```
181
+
```Kusto
182
+
StorageFileLogs
183
+
| where Protocol == "SMB" and TimeGenerated >= ago(7d)
184
+
| summarize count() by OperationName
185
+
| sort by count_ desc
186
+
| render piechart
187
+
```
188
188
189
-
- View REST errors over the last week
189
+
- View REST errors over the last week.
190
190
191
-
```Kusto
192
-
StorageFileLogs
193
-
| where Protocol == "HTTPS" and TimeGenerated >= ago(7d) and StatusText !contains "Success"
194
-
| sort by StatusText asc
195
-
```
191
+
```Kusto
192
+
StorageFileLogs
193
+
| where Protocol == "HTTPS" and TimeGenerated >= ago(7d) and StatusText !contains "Success"
194
+
| sort by StatusText asc
195
+
```
196
196
197
-
- Create a pie chart of REST operations over the last week
197
+
- Create a pie chart of REST operations over the last week.
198
198
199
-
```Kusto
200
-
StorageFileLogs
201
-
| where Protocol == "HTTPS" and TimeGenerated >= ago(7d)
202
-
| summarize count() by OperationName
203
-
| sort by count_ desc
204
-
| render piechart
205
-
```
199
+
```Kusto
200
+
StorageFileLogs
201
+
| where Protocol == "HTTPS" and TimeGenerated >= ago(7d)
202
+
| summarize count() by OperationName
203
+
| sort by count_ desc
204
+
| render piechart
205
+
```
206
206
207
-
To view the list of column names and descriptions for Azure Files, see [StorageFileLogs](/azure/azure-monitor/reference/tables/storagefilelogs).
207
+
To view the list of column names and descriptions for Azure Files, see [StorageFileLogs](/azure/azure-monitor/reference/tables/storagefilelogs#columns).
208
208
209
-
For more information on how to write queries, see [Log Analytics tutorial](../../azure-monitor/logs/log-analytics-tutorial.md).
0 commit comments