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
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,11 @@
2
2
title: How to log events to Azure Event Hubs in Azure API Management | Microsoft Docs
3
3
description: Learn how to log events to Azure Event Hubs in Azure API Management. Event Hubs is a highly scalable data ingress service.
4
4
services: api-management
5
-
documentationcenter: ''
6
5
author: dlepow
7
6
8
7
ms.service: api-management
9
8
ms.topic: how-to
10
-
ms.date: 01/18/2023
9
+
ms.date: 02/01/2023
11
10
ms.author: danlep
12
11
13
12
---
@@ -28,17 +27,17 @@ Azure Event Hubs is a highly scalable data ingress service that can ingest milli
28
27
29
28
To log events to the event hub, you need to configure credentials for access from API Management. API Management supports either of the two following access mechanisms:
30
29
31
-
* An event hub connection string
30
+
* An Event Hubs connection string
32
31
* A managed identity for your API Management instance.
To create an Event Hubs connection string, see [Get an Event Hubs connection string](../event-hubs/event-hubs-get-connection-string.md).
37
36
38
37
* You can use a connection string for the Event Hubs namespace or for the specific event hub you use for logging from API Management.
39
38
* The shared access policy for the connection string must enable at least **Send** permissions.
40
39
41
-
### Configure API Management managed identity
40
+
### Option 2: Configure API Management managed identity
42
41
43
42
> [!NOTE]
44
43
> Using an API Management managed identity for logging events to an event hub is supported in API Management REST API version `2022-04-01-preview` or later.
@@ -103,7 +102,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
103
102
"description": "Event hub logger with system-assigned managed identity",
0 commit comments