Skip to content

Commit 0e103b1

Browse files
committed
Learn Editor: Update enable-diagnostic-logs-topic.md
1 parent 2918def commit 0e103b1

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

articles/event-grid/enable-diagnostic-logs-topic.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,49 +54,49 @@ This article provides step-by-step instructions for enabling diagnostic settings
5454
- If you select **Archive to a storage account**, select **Storage account - Configure**, and then select the storage account in your Azure subscription.
5555

5656
:::image type="content" source="./media/enable-diagnostic-logs-topic/archive-storage.png" alt-text="Screenshot that shows the Diagnostic settings page with Archive to an Azure storage account checked and a storage account selected.":::
57-
- If you select **Stream to an event hub**, select **Event hub - Configure**, and then select the Event Hubs namespace, event hub, and the access policy.
58-
59-
![Screenshot that shows the "Diagnostic settings" page with "Stream to an event hub" checked.](./media/enable-diagnostic-logs-topic/archive-event-hub.png)
57+
- If you select **Stream to an event hub**, select **Event hub - Configure**, and then select the Event Hubs namespace, event hub, and the access policy.
58+
59+
![Screenshot that shows the "Diagnostic settings" page with "Stream to an event hub" checked.](./media/enable-diagnostic-logs-topic/archive-event-hub.png)
6060
1. Select **Save**. Then, select **X** in the right-corner to close the page.
6161
1. Now, back on the **Diagnostic settings** page, confirm that you see a new entry in the **Diagnostics Settings** table.
6262

6363
![Screenshot that shows the "Diagnostic settings" page with a new entry highlighted in the "Diagnostics settings" table.](./media/enable-diagnostic-logs-topic/diagnostic-setting-list.png)
64-
64+
6565
You can also enable collection of all metrics for the topic.
6666

6767
## Enable diagnostic logs for Event Grid system topics
6868

6969
1. Sign in to the [Azure portal](https://portal.azure.com).
70-
2. Navigate to the system topic for which you want to enable diagnostic log settings.
70+
1. Navigate to the system topic for which you want to enable diagnostic log settings.
7171
1. In the search bar at the top, search for **Event Grid system topics**.
7272
![Search for system topics](./media/enable-diagnostic-logs-topic/search-system-topics.png)
73-
1. Select the **system topic** for which you want to configure diagnostic settings.
74-
![Select system topic](./media/enable-diagnostic-logs-topic/select-system-topic.png)
75-
3. Select **Diagnostic settings** under **Monitoring** on the left menu, and then select **Add diagnostic setting**.
76-
![Add diagnostic settings - button](./media/enable-diagnostic-logs-topic/system-topic-add-diagnostic-settings-button.png)
73+
1. Select the **system topic** for which you want to configure diagnostic settings.
74+
![Select system topic](./media/enable-diagnostic-logs-topic/select-system-topic.png)
75+
1. Select **Diagnostic settings** under **Monitoring** on the left menu, and then select **Add diagnostic setting**.
76+
![Add diagnostic settings - button](./media/enable-diagnostic-logs-topic/search-custom-topics.png)
7777
4. Specify a **name** for the diagnostic setting.
78-
5. Select the **allLogs** option in the **Logs** section.
79-
![Select delivery failures](./media/enable-diagnostic-logs-topic/system-topic-select-delivery-failures.png)
80-
6. Enable one or more of the capture destinations for the logs, and then configure them by selecting a previous created capture resource.
78+
1. Select the **allLogs** option in the **Logs** section.
79+
![Select delivery failures](./media/enable-diagnostic-logs-topic/search-custom-topics.png)
80+
1. Enable one or more of the capture destinations for the logs, and then configure them by selecting a previous created capture resource.
8181
- If you select **Send to Log Analytics**, select the Log Analytics workspace.
8282
![Send to Log Analytics](./media/enable-diagnostic-logs-topic/system-topic-select-log-workspace.png)
83-
- If you select **Archive to a storage account**, select **Storage account - Configure**, and then select the storage account in your Azure subscription.
84-
![Archive to an Azure storage account](./media/enable-diagnostic-logs-topic/system-topic-select-storage-account.png)
83+
- If you select **Archive to a storage account**, select **Storage account - Configure**, and then select the storage account in your Azure subscription.
84+
![Archive to an Azure storage account](./media/enable-diagnostic-logs-topic/search-custom-topics.png)
8585
- If you select **Stream to an Event Hub**, select **Event Hub - Configure**, and then select the Event Hubs namespace, event hub, and the access policy.
8686
![Stream to an event hub](./media/enable-diagnostic-logs-topic/system-topic-select-event-hub.png)
8787
7. Select **Save**. Then, select **X** in the right-corner to close the page.
88-
8. Now, back on the **Diagnostic settings** page, confirm that you see a new entry in the **Diagnostics Settings** table.
89-
![Diagnostic setting in the list](./media/enable-diagnostic-logs-topic/system-topic-diagnostic-settings-targets.png)
88+
1. Now, back on the **Diagnostic settings** page, confirm that you see a new entry in the **Diagnostics Settings** table.
89+
![Diagnostic setting in the list](./media/enable-diagnostic-logs-topic/search-custom-topics.png)
9090

9191
You can also enable collection of all **metrics** for the system topic.
92-
![System topic - enable all metrics](./media/enable-diagnostic-logs-topic/system-topics-metrics.png)
92+
![System topic - enable all metrics](./media/enable-diagnostic-logs-topic/search-custom-topics.png)
9393

9494
## View diagnostic logs in Azure Storage
9595

9696
1. Once you enable a storage account as a capture destination, Event Grid starts emitting diagnostic logs. You should see new containers named **insights-logs-deliveryfailures** and **insights-logs-publishfailures** in the storage account.
9797

9898
![Storage - containers for diagnostic logs](./media/enable-diagnostic-logs-topic/storage-containers.png)
99-
2. As you navigate through one of the containers, you'll end up at a blob in JSON format. The file contains log entries for either a delivery failure or a publish failure. The navigation path represents the **ResourceId** of the Event Grid topic and the timestamp (minute level) as to when the log entries were emitted. The blob/JSON file, which is downloadable, in the end adheres to the schema described in the next section.
99+
1. As you navigate through one of the containers, you'll end up at a blob in JSON format. The file contains log entries for either a delivery failure or a publish failure. The navigation path represents the **ResourceId** of the Event Grid topic and the timestamp (minute level) as to when the log entries were emitted. The blob/JSON file, which is downloadable, in the end adheres to the schema described in the next section.
100100

101101
![JSON file in the storage](./media/enable-diagnostic-logs-topic/select-json.png)
102102
3. You should see content in the JSON file similar to the following example:
@@ -218,4 +218,4 @@ The audit trace can be used to ensure that data access is allowed only for autho
218218
219219
## Next steps
220220

221-
For the log schema and other conceptual information about diagnostic logs for topics or domains, see [Diagnostic logs](monitor-push-reference.md).
221+
For the log schema and other conceptual information about diagnostic logs for topics or domains, see [Diagnostic logs](monitor-push-reference#schema-for-data-plane-operations-logs).

0 commit comments

Comments
 (0)