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/api-management/api-management-howto-log-event-hubs.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,13 @@ The next step is to configure a [logger](/rest/api/apimanagement/current-ga/logg
59
59
60
60
Create and manage API Management loggers by using the [API Management REST API](/rest/api/apimanagement/current-preview/logger/create-or-update) directly or by using tools including [Azure PowerShell](/powershell/module/az.apimanagement/new-azapimanagementlogger), a Bicep template, or an Azure Resource Management template.
61
61
62
+
### Logger with managed identity credentials (recommended)
63
+
64
+
You can configure an API Management logger to an event hub using either a system-assigned or user-assigned managed identity credentials.
65
+
62
66
### Logger with system-assigned managed identity credentials
63
67
64
-
For prerequisites, see [Configure API Management managed identity](#option-2-configure-api-management-managed-identity).
68
+
For prerequisites, see [Configure API Management managed identity](#option-1-configure-api-management-managed-identity).
65
69
66
70
#### [REST API](#tab/PowerShell)
67
71
@@ -124,9 +128,9 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
124
128
}
125
129
```
126
130
---
127
-
### Logger with user-assigned managed identity credentials
131
+
####Logger with user-assigned managed identity credentials
128
132
129
-
For prerequisites, see [Configure API Management managed identity](#option-2-configure-api-management-managed-identity).
133
+
For prerequisites, see [Configure API Management managed identity](#option-1-configure-api-management-managed-identity).
130
134
131
135
#### [REST API](#tab/PowerShell)
132
136
@@ -193,7 +197,10 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
193
197
194
198
### Logger with connection string credentials
195
199
196
-
For prerequisites, see [Configure Event Hubs connection string](#option-1-configure-event-hubs-connection-string).
200
+
For prerequisites, see [Configure Event Hubs connection string](#option-2-configure-event-hubs-connection-string).
201
+
202
+
> [!NOTE]
203
+
> Where possible, Microsoft recommends configuring the logger with managed identity credentials. See [Configure logger with managed identity credentials](#logger-with-managed-identity-credentials-recommended), earlier in this article
0 commit comments