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/developer-portal-enable-usage-logs.md
+6-15Lines changed: 6 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ author: dlepow
7
7
ms.service: api-management
8
8
ms.custom:
9
9
ms.topic: how-to
10
-
ms.date: 05/13/2024
10
+
ms.date: 05/23/2024
11
11
ms.author: danlep
12
12
---
13
13
@@ -38,7 +38,10 @@ To configure a diagnostic setting for developer portal usage logs:
38
38
1.**Diagnostic setting name**: Enter a descriptive name.
39
39
1.**Category groups**: Optionally make a selection for your scenario.
40
40
1. Under **Categories**: Select **Logs related to Developer Portal usage**. Optionally select other categories as needed.
41
-
1. Under **Destination details**, select one or more options and specify details for the destination. For example, archive logs to a storage account, stream them to an event hub, or send them to a Log Analytics workspace or partner solution. [Learn more](../azure-monitor/essentials/diagnostic-settings.md)
41
+
1. Under **Destination details**, select one or more options and specify details for the destination. For example, archive logs to a storage account or stream them to an event hub. [Learn more](../azure-monitor/essentials/diagnostic-settings.md)
42
+
> [!NOTE]
43
+
> Currently, the **Send to Log Analytics workspace** destination isn't supported for developer portal usage logs.
44
+
42
45
1. Select **Save**.
43
46
44
47
## View diagnostic log data
@@ -53,21 +56,9 @@ If you send logs to a storage account, you can access the data in the Azure port
53
56
1. Navigate to the container for the logs in your API Management instance. The logs are partitioned in intervals of 1 hour.
54
57
1. To retrieve the data for further analysis, select **Download**.
55
58
56
-
If you selected a Log Analytics workspace as a destination, you can view the data in the Azure portal. To query the data:
57
-
58
-
1. In the [Azure portal](https://portal.azure.com), navigate to your API Management instance.
59
-
1. In the left menu, select **Logs**.
60
-
1. Run queries to view the data. Several [sample queries](../azure-monitor/logs/queries.md) are provided, or run your own. For example, the following query retrieves the most recent 24 hours of data from the DeveloperPortalAuditLogs table:
61
-
62
-
```kusto
63
-
DeveloperPortalAuditLogs
64
-
| where TimeGenerated > ago(1d)
65
-
```
66
-
59
+
67
60
## Related content
68
61
69
-
*[Log Analytics tutorial](../azure-monitor/logs/log-analytics-tutorial.md), or try the [Log Analytics demo environment](https://ms.portal.azure.com/#view/Microsoft_OperationsManagementSuite_Workspace/LogsDemo.ReactView).
70
-
71
62
*[Overview of log queries in Azure Monitor](../azure-monitor/logs/log-query-overview.md).
0 commit comments