Skip to content

Commit b22671d

Browse files
authored
Merge pull request #180410 from spelluru/egridaudit1118
Review edit for diagnostics logs articles
2 parents 8a70ea7 + 9e2715e commit b22671d

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,33 @@ ms.date: 11/11/2021
77

88
# Enable diagnostic logs for Event Grid resources
99

10-
This article provides step-by-step instructions to enable diagnostic settings for Event Grid resources.
10+
This article provides step-by-step instructions for enabling diagnostic settings for Event Grid resources. These settings allow you to capture and view diagnostic information so that you can troubleshoot any failures. The following table shows the settings available for different types of Event Grid resources - custom topics, system topics, and domains.
1111

12-
These settings allow you to capture and view the information, the following table show the compatibility of settings across the Event Grid resources.
13-
14-
| Diagnostic setting | Description | Event Grid topics | Event Grid system topics | Event Grid domains |
15-
| ------------- | ------------- | --------- | ----------- | ----------- |
16-
| DeliveryFailures | Delivery failures | Yes | Yes | Yes |
17-
| PublishFailures | Publish failures | Yes | No | Yes |
18-
| DataPlaneRequests| Data plane requests | Yes | No | Yes |
12+
| Diagnostic setting | Event Grid topics | Event Grid system topics | Event Grid domains |
13+
| ------------- | --------- | ----------- | ----------- |
14+
| [DeliveryFailures](diagnostic-logs.md#schema-for-publishdelivery-failure-logs) | Yes | Yes | Yes |
15+
| [PublishFailures](diagnostic-logs.md#schema-for-publishdelivery-failure-logs) | Yes | No | Yes |
16+
| [DataPlaneRequests](diagnostic-logs.md#schema-for-data-plane-requests) | Yes | No | Yes |
1917

2018
> [!IMPORTANT]
21-
> For the schema for diagnostic logs, see [Diagnostic logs](diagnostic-logs.md).
19+
> For schemas of delivery failures, publish failures, and data plane requests, see [Diagnostic logs](diagnostic-logs.md).
2220
2321
## Prerequisites
2422

25-
- A provisioned Event Grid resource
23+
- A provisioned Event Grid resource
2624
- A provisioned destination for capturing diagnostic logs:
2725
- Log Analytics workspace
2826
- Storage account
29-
- Event Hub
27+
- Event Hubs
3028
- Partner solution
3129

32-
## Enable diagnostic logs for Event Grid topics and Event Grid domains
30+
## Enable diagnostic logs for Event Grid topics and domains
3331

3432
> [!NOTE]
35-
> The following procedure provides step-by-step instructions for enabling diagnostic logs for Event Grid Topics. Steps for enabling diagnostic logs for a domain are very similar. In step 2, navigate to the Event Grid **domains** in the Azure portal.
33+
> The following procedure provides step-by-step instructions for enabling diagnostic logs for topics. Steps for enabling diagnostic logs for a domain are very similar. In step 2, navigate to the Event Grid **domain** in the Azure portal.
3634
3735
1. Sign in to the [Azure portal](https://portal.azure.com).
38-
2. Navigate to the Event Grid Topic for which you want to enable diagnostic log settings.
36+
2. Navigate to the Event Grid topic for which you want to enable diagnostic log settings.
3937
1. In the search bar at the top, search for **Event Grid topics**.
4038
![Search for custom topics](./media/enable-diagnostic-logs-topic/search-custom-topics.png)
4139
2. Select the **topic** from the list for which you want to configure diagnostic settings.
@@ -48,7 +46,7 @@ These settings allow you to capture and view the information, the following tabl
4846
7. Enable one or more of the capture destinations for the logs, and then configure them by selecting a previous created capture resource.
4947
- If you select **Archive to a storage account**, select **Storage account - Configure**, and then select the storage account in your Azure subscription.
5048
![Screenshot that shows the "Diagnostic settings" page with "Archive to an Azure storage account" checked and a storage account selected.](./media/enable-diagnostic-logs-topic/archive-storage.png)
51-
- 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.
49+
- 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.
5250
![Screenshot that shows the "Diagnostic settings" page with "Stream to an event hub" checked.](./media/enable-diagnostic-logs-topic/archive-event-hub.png)
5351
- If you select **Send to Log Analytics**, select the Log Analytics workspace.
5452
![Screenshot that shows the "Diagnostic settings" page with "Send to Log Analytics" checked.](./media/enable-diagnostic-logs-topic/send-log-analytics.png)
@@ -61,7 +59,7 @@ You can also enable collection of all metrics for the topic.
6159
## Enable diagnostic logs for Event Grid system topics
6260

6361
1. Sign in to the [Azure portal](https://portal.azure.com).
64-
2. Navigate to the event grid topic for which you want to enable diagnostic log settings.
62+
2. Navigate to the system topic for which you want to enable diagnostic log settings.
6563
1. In the search bar at the top, search for **Event Grid system topics**.
6664
![Search for system topics](./media/enable-diagnostic-logs-topic/search-system-topics.png)
6765
1. Select the **system topic** for which you want to configure diagnostic settings.
@@ -92,7 +90,7 @@ You can also enable collection of all **metrics** for the system topic.
9290
![Storage - containers for diagnostic logs](./media/enable-diagnostic-logs-topic/storage-containers.png)
9391
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.
9492

95-
![JSON file in the storage](./media/enable-diagnostic-logs-topic/select-json.png)(./media/enable-diagnostic-logs-topic/select-json.png)
93+
![JSON file in the storage](./media/enable-diagnostic-logs-topic/select-json.png)
9694
3. You should see content in the JSON file similar to the following example:
9795

9896
```json
@@ -202,7 +200,9 @@ Then, it creates a diagnostic setting on the topic to send diagnostic informatio
202200

203201
## Enable diagnostic logs for audit traces
204202

205-
Event Grid can publish the audit traces for data plane operations when selecting the category group **audit** or when selecting the category **DataPlaneRequests** in the **Logs**, the audit trace can be used to ensure that data access is allowed only for authorized purposes and collects information about security control such as resource name, operation type, network access, level, region and more. For more information about how to enable the diagnostic setting, see [Diagnostic logs in Event Grid topics and Event Grid domains](enable-diagnostic-logs-topic.md#enable-diagnostic-logs-for-event-grid-topics-and-event-grid-domains).
203+
Event Grid can publish audit traces for data plane operations. To enable the feature, select **audit** in the **Category groups** section or select **DataPlaneRequests** in the **Categories** section.
204+
205+
The audit trace can be used to ensure that data access is allowed only for authorized purposes. It collects information about security control such as resource name, operation type, network access, level, region and more. For more information about how to enable the diagnostic setting, see [Diagnostic logs in Event Grid topics and Event Grid domains](enable-diagnostic-logs-topic.md#enable-diagnostic-logs-for-event-grid-topics-and-domains).
206206
![Select the audit traces](./media/enable-diagnostic-logs-topic/enable-audit-logs.png)
207207

208208
> [!IMPORTANT]

articles/event-grid/troubleshoot-network-connectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ For more information, see [Configure IP firewall rules for an Azure Event Grid t
6666

6767
#### Find the IP addresses blocked by IP Firewall
6868

69-
Enable diagnostic logs for Event Grid topic/domain [Enable diagnostic logs](enable-diagnostic-logs-topic.md#enable-diagnostic-logs-for-event-grid-topics-and-event-grid-domains). You'll see the IP address for the connection that's denied.
69+
Enable diagnostic logs for Event Grid topic/domain [Enable diagnostic logs](enable-diagnostic-logs-topic.md#enable-diagnostic-logs-for-event-grid-topics-and-domains). You'll see the IP address for the connection that's denied.
7070

7171
```json
7272
{

0 commit comments

Comments
 (0)