SparkLoggingEvent_CL is not being gained in log analytics

Arudchayan Pirabaharan
10
Reputation points
I have configured log analytics and spark according to https://learn.microsoft.com/en-us/azure/synapse-analytics/spark/apache-spark-azure-log-analytics
The metrics and listener have arrived to log analytics but logging event has not ,I have setup the pyspark logging as per the article and can view the logs through synapse monitor spark pool logs
Any help would be greatly appreciated
Thank you in advance
1 vote
@Arudchayan Pirabaharan
Can you please confirm the version of the Spark environment? Also, mention if it is a DEP-enabled workspace.
Thanks,
Charls
Thank you for responding AnnuKumari,The log4j properties is at default,as we need to have all the logs at INFO and higher.
Thank you for responding @Charls K V ,The spark version is {Spark version: 3.3.1.5.2-83515052} and the workspace is not DEP enabled as managed virtual network is set to NO.
For further clarification
This is essentially the sample code we are using. The log analytics captures the metrics and listener but not logging event.
Any further assistance would be greatly appreciated.
Sign in to comment