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/healthcare-apis/iot/how-to-enable-diagnostic-settings.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,12 @@ ms.author: jasteppe
12
12
13
13
# How to enable diagnostic settings for the MedTech service
14
14
15
-
In this article, you'll learn how to enable the diagnostic settings for the MedTech service to export logs and metrics to different destinations (for example: to an [Azure Log Analytics workspace](../../azure-monitor/logs/log-analytics-workspace-overview.md) or an [Azure storage account](../../storage/index.yml) or an [Azure event hub](../../event-hubs/index.yml)) for audit, analysis, backup, or troubleshooting of your MedTech service.
15
+
In this article, you'll learn how to enable diagnostic settings for the MedTech service to:
16
+
17
+
> [!div class="checklist"]
18
+
> - Create a diagnostic setting to export logs and metrics for audit, analysis, backup, or troubleshooting of your MedTech service.
19
+
> - Use the Azure Log Analytics workspace to view the MedTech service logs.
20
+
> - Access the MedTech service pre-defined Azure Log Analytics queries.
16
21
17
22
## Create a diagnostic setting for the MedTech service
18
23
@@ -54,9 +59,9 @@ In this article, you'll learn how to enable the diagnostic settings for the MedT
54
59
55
60
|Destination|Description|
56
61
|-----------|-----------|
57
-
|Log Analytics workspace|Metrics are converted to log form. Sending the metrics to the Azure Monitor Logs store (which is searchable via Log Analytics) enables you to integrate them into queries, alerts, and visualizations with existing log data.|
58
-
|Azure storage account|Archiving logs and metrics to an Azure storage account is useful for audit, static analysis, or backup. Compared to Azure Monitor Logs and a Log Analytics workspace, Azure storage is less expensive, and logs can be kept there indefinitely.|
59
-
|Azure event hub|Sending logs and metrics to an event hub allows you to stream data to external systems such as third-party Security Information and Event Managements (SIEMs) and other Log Analytics solutions.|
62
+
|[Azure Log Analytics workspace](../../azure-monitor/logs/log-analytics-workspace-overview.md)|Metrics are converted to log form. Sending the metrics to the Azure Monitor Logs store (which is searchable via Log Analytics) enables you to integrate them into queries, alerts, and visualizations with existing log data.|
63
+
|[Azure storage account](../../storage/index.yml)|Archiving logs and metrics to an Azure storage account is useful for audit, static analysis, or backup. Compared to Azure Monitor Logs and a Log Analytics workspace, Azure storage is less expensive, and logs can be kept there indefinitely.|
64
+
|[Azure event hub](../../event-hubs/index.yml)|Sending logs and metrics to an event hub allows you to stream data to external systems such as third-party Security Information and Event Managements (SIEMs) and other Log Analytics solutions.|
60
65
|Azure Monitor partner integrations|Specialized integrations between Azure Monitor and other non-Microsoft monitoring platforms. Useful when you're already using one of the partners.|
61
66
62
67
5. Select the **Save** option to save your diagnostic setting selections.
@@ -86,15 +91,15 @@ In this article, you'll learn how to enable the diagnostic settings for the MedT
86
91
>
87
92
> To learn about how to work with diagnostic logs, see [Overview of Azure platform logs](../../azure-monitor/essentials/platform-logs-overview.md).
88
93
89
-
## Use the Log Analytics workspace to view the MedTech service logs
94
+
## Use the Azure Log Analytics workspace to view the MedTech service logs
90
95
91
96
If you choose to include your Log Analytics workspace as a destination option for your diagnostic setting, you can view the logs within **Logs** in your MedTech service. If there are any logs, they'll be a result of exceptions for your MedTech service (for example: *HealthCheck* exceptions).
92
97
93
98
1. To access your Log Analytics workspace, select the **Logs** button within your MedTech service.
94
99
95
100
:::image type="content" source="media/how-to-enable-diagnostic-settings/select-logs-button.png" alt-text="Screenshot of logs option." lightbox="media/how-to-enable-diagnostic-settings/select-logs-button.png":::
96
101
97
-
2. Copy the below table query string into your Log Analytics workspace query area and select **Run**. Using the *AHDSMedTechDiagnosticLogs* table will provide you with all logs contained in the entire table for the selected **Time range** setting (the default value is **Last 24 hours**). The MedTech service provides five pre-defined queries that will be addressed in the article section titled [Accessing the MedTech service pre-defined Log Analytics queries](how-to-enable-diagnostic-settings.md#accessing-the-medtech-service-pre-defined-log-analytics-queries).
102
+
2. Copy the below table query string into your Log Analytics workspace query area and select **Run**. Using the *AHDSMedTechDiagnosticLogs* table will provide you with all logs contained in the entire table for the selected **Time range** setting (the default value is **Last 24 hours**). The MedTech service provides five pre-defined queries that will be addressed in the article section titled [Accessing the MedTech service pre-defined Azure Log Analytics queries](how-to-enable-diagnostic-settings.md#accessing-the-medtech-service-pre-defined-azure-log-analytics-queries).
98
103
99
104
```Kusto
100
105
AHDSMedTechDiagnosticLogs
@@ -127,7 +132,7 @@ If you choose to include your Log Analytics workspace as a destination option fo
127
132
>
128
133
> To learn how to troubleshoot the MedTech service error messages and conditions, see [Troubleshoot MedTech service errors](troubleshoot-errors.md).
129
134
130
-
## Accessing the MedTech service pre-defined Log Analytics queries
135
+
## Accessing the MedTech service pre-defined Azure Log Analytics queries
131
136
132
137
The MedTech service comes with pre-defined queries that can be used anytime in your Log Analytics workspace to filter and summarize your logs for more precise investigation. The queries can also be customized and saved/shared.
0 commit comments