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/cognitive-services/diagnostic-logging.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,14 +37,14 @@ Let's start by enabling diagnostic logging using the Azure portal.
37
37
3. If there is a previously created resource that you'd like to use, you can select it now. Otherwise, select **+ Add diagnostic setting**.
38
38
4. Enter a name for the setting. Then select **Archive to a storage account** and **Send to log Analytics**.
39
39
5. When prompted to configure, select the storage account and OMS workspace that you'd like to use to store you diagnostic logs. **Note**: If you don't have a storage account or OMS workspace, follow the prompts to create one.
40
-
6. Select **Audit**, **RequestResponse**, and **AllMetrics**. Then set the desired retention period for your diagnostic log data. If a retention policy is set to zero, events for that log category are stored indefinitely.
40
+
6. Select **Audit**, **RequestResponse**, and **AllMetrics**. Then set the retention period for your diagnostic log data. If a retention policy is set to zero, events for that log category are stored indefinitely.
41
41
7. Click **Save**.
42
42
43
43
It can take up to two hours before logging data is available to query and analyze. So don't worry if you don't see anything right away.
44
44
45
45
## View and export diagnostic data from Azure Storage
46
46
47
-
Azure Storage is a robust object storage solution that is optimized for storing large amounts of unstructured data. In this section, you'll learn to query your storage account for total transactions over a 30day timeframe and export the data to excel.
47
+
Azure Storage is a robust object storage solution that is optimized for storing large amounts of unstructured data. In this section, you'll learn to query your storage account for total transactions over a 30-day timeframe and export the data to excel.
48
48
49
49
1. From the Azure portal, locate the Azure Storage resource that you created in the last section.
50
50
2. From the left-hand navigation menu, locate **Monitoring** and select **Metrics**.
@@ -57,13 +57,13 @@ Learn more about what you can do with diagnostic data in [Azure Storage](https:/
57
57
58
58
Follow these instructions to explore log analytics data for your resource.
59
59
60
-
1. From the Azure Portal, locate and select **Log Analytics** from the left-hand navigation menu.
60
+
1. From the Azure portal, locate and select **Log Analytics** from the left-hand navigation menu.
61
61
2. Locate and select the resource you created when enabling diagnostics.
62
62
3. Under **General**, locate and select **Logs**. From this page, you can run queries against your logs.
63
63
64
64
### Sample queries
65
65
66
-
Run this query for all diagnostic logs from Azure Cognitivie Services for a specified time period:
66
+
Run this query for all diagnostic logs from Azure Cognitive Services for a specified time period:
0 commit comments