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/azure-signalr/signalr-howto-diagnostic-logs.md
+6-28Lines changed: 6 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Monitor Azure SignalR Service logs
2
+
title: Use diagnostic logs to monitor SignalR Service
3
3
description: Learn how to monitor Azure SignalR Service logs with Azure Monitor and how to self-troubleshoot.
4
4
author: wanlwanl
5
5
ms.service: signalr
@@ -8,7 +8,7 @@ ms.date: 05/15/2023
8
8
ms.author: wanl
9
9
---
10
10
11
-
# Monitor and troubleshoot Azure SignalR Service logs
11
+
# Use diagnostic logs to monitor SignalR Service
12
12
13
13
This article describes how you can use Azure Monitor features to analyze and troubleshoot the resource log monitoring data generated by Azure SignalR.
14
14
@@ -23,38 +23,16 @@ You can enable other types of data collection after some configuration. This art
23
23
24
24
To enable resource logs, you need to set up a place to store your log data, such as Azure Storage or Log Analytics.
25
25
26
-
-[Azure storage](../azure-monitor/essentials/resource-logs.md#send-to-azure-storage) retains resource logs for policy audit, static analysis, or backup.
26
+
-[Azure storage](../azure-monitor/essentials/resource-logs.md#send-to-azure-storage) retains resource logs for policy audit, static analysis, or back up.
27
27
-[Log Analytics](../azure-monitor/essentials/resource-logs.md#send-to-log-analytics-workspace) is a flexible log search and analytics tool that allows for analysis of raw logs generated by an Azure resource.
28
28
29
29
## Enable resource logs
30
30
31
-
Azure SignalR Service supports connectivity logs, messaging logs, and Http request logs. For more details about these types of logs, see [Resource log categories](monitor-signalr.md#resource-log-categories).
31
+
Azure SignalR Service supports connectivity logs, messaging logs, and Http request logs. For more details about these types of logs, see [Resource log categories](monitor-signalr.md#resource-log-categories). Logs are stored in the Storage account configured in the **Diagnostics logs** pane. For more details about the storage format and fields, see [Data storage](monitor-signalr.md#data-storage).
32
32
33
-
Resource logs are disabled by default. To enable resource logs by using diagnostic settings, follow these steps:
33
+
### Create diagnostic settings
34
34
35
-
1. In the [Azure portal](https://portal.azure.com), under **Monitoring**, select **Diagnostic settings**.
36
-
37
-
:::image type="content" alt-text="Pane navigation to diagnostic settings." source="media/signalr-tutorial-diagnostic-logs/diagnostic-settings-menu-item.png":::
38
-
39
-
You get a full view of the diagnostic settings.
40
-
41
-
:::image type="content" alt-text="Diagnostic settings full view." source="media/signalr-tutorial-diagnostic-logs/azure-signalr-diagnostic-settings.png" lightbox="media/signalr-tutorial-diagnostic-logs/azure-signalr-diagnostic-settings.png":::
42
-
43
-
1. Configure the log source settings.
44
-
1. In **Log Source Settings** section, a table shows collecting behaviors for each log type.
45
-
2. Check the specific log type you want to collect for all connections. Otherwise the log is collected only for [diagnostic clients](#diagnostic-client).
46
-
1. Configure the log destination settings.
47
-
1. In **Log Destination Settings** section, a table of diagnostic settings displays the existing diagnostic settings. You can select the link in the table to get access to the log destination to view the collected resource logs.
48
-
2. In this section, select the button **Configure Log Destination Settings** to add, update, or delete diagnostic settings.
49
-
3. Select **Add diagnostic setting** to add a new diagnostic setting, or select **Edit** to modify an existing diagnostic setting.
50
-
4. Set the archive target that you want. Currently, Azure SignalR Service supports **Archive to a storage account** and **Send to Log Analytics**.
51
-
5. Select the logs you want to archive. Only `AllLogs` is available for resource log. It only controls whether you want to archive the logs. To configure which log types need to be generated in Azure SignalR Service, configure in **Log Source Settings** section.
6. Save the new diagnostics setting. The new setting takes effect in about 10 minutes. After that, logs are sent to the configured archival target. For more information about configuring log destination settings, see the [overview of Azure resource logs](../azure-monitor/essentials/platform-logs-overview.md).
56
-
57
-
Logs are stored in the Storage account configured in **Diagnostics logs** pane. For more details about the storage format and fields, see [Data storage](monitor-signalr.md#data-storage).
35
+
Resource logs are disabled by default. To enable resource logs by using diagnostic settings, see [Create diagnostic settings in Azure Monitor](/azure/azure-monitor/essentials/create-diagnostic-settings).
0 commit comments