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
+35-12Lines changed: 35 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,9 +39,11 @@ Gather the following values for the spark configuration:
39
39
-`<LOG_ANALYTICS_WORKSPACE_KEY>`: Log Analytics key. To find this, in the Azure portal, go to **Azure Log Analytics workspace** > **Agents** > **Primary key**.
For a list of Apache Spark configurations, see [Available Apache Spark configurations](../monitor-synapse-analytics-reference.md#available-apache-spark-configurations)
@@ -245,6 +252,22 @@ You can follow below steps to create a managed private endpoint connection to Az
245
252
> - The AMPLS object has a number of limits you should consider when planning your Private Link setup. See [AMPLS limits](/azure/azure-monitor/logs/private-link-security) for a deeper review of these limits.
246
253
> - Check if you have [right permission](../security/synapse-workspace-access-control-overview.md) to create managed private endpoint.
247
254
255
+
## Available configurations
256
+
257
+
| Configuration | Description |
258
+
| --- | --- |
259
+
|`spark.synapse.diagnostic.emitters`| Required. The comma-separated destination names of diagnostic emitters. For example, `MyDest1,MyDest2`|
260
+
|`spark.synapse.diagnostic.emitter.<destination>.type`| Required. Built-in destination type. To enable Azure Log Analytics destination, AzureLogAnalytics needs to be included in this field.|
261
+
|`spark.synapse.diagnostic.emitter.<destination>.categories`| Optional. The comma-separated selected log categories. Available values include `DriverLog`, `ExecutorLog`, `EventLog`, `Metrics`. If not set, the default value is **all** categories. |
262
+
|`spark.synapse.diagnostic.emitter.<destination>.workspaceId`| Required. To enable Azure Log Analytics destination, workspaceId needs to be included in this field. |
263
+
|`spark.synapse.diagnostic.emitter.<destination>.secret`| Optional. The secret (Log Aanalytics key) content. To find this, in the Azure portal, go to Azure Log Analytics workspace > Agents > Primary key. |
264
+
|`spark.synapse.diagnostic.emitter.<destination>.secret.keyVault`| Required if `.secret` is not specified. The [Azure Key vault](/azure/key-vault/general/overview) name where the secret (AccessKey or SAS) is stored. |
265
+
|`spark.synapse.diagnostic.emitter.<destination>.secret.keyVault.secretName`| Required if `.secret.keyVault` is specified. The Azure Key vault secret name where the secret is stored. |
266
+
|`spark.synapse.diagnostic.emitter.<destination>.secret.keyVault.linkedService`| Optional. The Azure Key vault linked service name. When enabled in Synapse pipeline, this is necessary to obtain the secret from AKV. (Please make sure MSI has read permission on the AKV). |
267
+
|`spark.synapse.diagnostic.emitter.<destination>.filter.eventName.match`| Optional. The comma-separated Log4j logger names, you can specify which logs to collect. For example `SparkListenerApplicationStart,SparkListenerApplicationEnd`|
268
+
|`spark.synapse.diagnostic.emitter.<destination>.filter.loggerName.match`| Optional. The comma-separated log4j logger names, you can specify which logs to collect. For example: `org.apache.spark.SparkContext,org.example.Logger`|
269
+
|`spark.synapse.diagnostic.emitter.<destination>.filter.metricName.match`| Optional. The comma-separated spark metric name suffixes, you can specify which metrics to collect. For example:`jvm.heap.used`|
270
+
248
271
## Related content
249
272
250
273
-[Run a Spark application in notebook](./apache-spark-development-using-notebooks.md).
0 commit comments