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/synapse-analytics/spark/apache-spark-azure-log-analytics.md
+26-15Lines changed: 26 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Use Azure Log Analytics to collect and visualize metrics and logs (Preview)
3
-
description: learn how to enable the Synapse built-in Azure Log Analytics connector for collecting and sending the Apache Spark application metrics and logs to your Azure Log Analytics workspace.
3
+
description: Learn how to enable the Synapse built-in Azure Log Analytics connector for collecting and sending the Apache Spark application metrics and logs to your Azure Log Analytics workspace.
4
4
services: synapse-analytics
5
5
author: jejiang
6
6
ms.author: jejiang
@@ -9,11 +9,10 @@ ms.service: synapse-analytics
9
9
ms.topic: tutorial
10
10
ms.subservice: spark
11
11
ms.date: 03/25/2021
12
+
ms.custom: references_regions
12
13
---
13
14
# Tutorial: Use Azure Log Analytics to collect and visualize metrics and logs (Preview)
14
15
15
-
## Overview
16
-
17
16
In this tutorial, you will learn how to enable the Synapse built-in Azure Log Analytics connector for collecting and sending the Apache Spark application metrics and logs to your [Azure Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace). You can then leverage an Azure monitor workbook to visualize the metrics and logs.
18
17
19
18
## Configure Azure Log Analytics Workspace information in Synapse Studio
@@ -30,7 +29,8 @@ You can follow below documents to create a Log Analytics workspace:
30
29
#### Option 1. Configure with Azure Log Analytics Workspace ID and Key
31
30
32
31
Copy the following Spark configuration, save it as **"spark_loganalytics_conf.txt"** and fill the parameters:
Then, submit your Apache Spark application to the configured Spark pool. After the application goes to running state, choose the running application in the workbook dropdown list.
And you can customize the workbook by Kusto query and configure alerts.
158
168
159
-

169
+
> [!div class="mx-imgBorder"]
170
+
> 
160
171
161
172
## Sample Kusto queries
162
173
@@ -197,7 +208,7 @@ For more information, see [Create, view, and manage log alerts using Azure Monit
197
208
## Limitation
198
209
199
210
- Azure Synapse Analytics workspace with [managed virtual network](https://docs.microsoft.com/azure/synapse-analytics/security/synapse-workspace-managed-vnet) enabled is not supported.
200
-
- The following regions are not yet supported:
211
+
- The following regions aren't currently supported:
0 commit comments