Azure Synapse - Send Data Factory pipeline logs to data lake/azure storage

Dheeraj 351 Reputation points
2021-07-18T07:00:03.407+00:00

I want to send synapse Data Factory pipeline logs to data lake/azure storage. so that I don't have to login to synapse and go to individual pipeline jobs to check the logs.
the specific logs I am talking about are below:
115632-screenshot-2021-07-18-122817.png

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,919 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,487 Reputation points Microsoft Employee
    2021-07-20T23:19:51.457+00:00

    Hi @Dheeraj ,

    Thanks for using Microsoft Q&A forum and posting your query.

    II don't see any option directly from UI to route the logs to Storage/ADLS Gen2. We are reaching out to internal team to check if there is a way and will get back to you as soon as we have an update from the team.

    Also could you please confirm if you are asking regarding pipeline run logs or Apache spark application (Jobs) logs? In case if your ask is to collect data regarding Synapse pipeline runs/Activtiy runs/Trigger Runs then you can use the diagnostic settings option from Azure portal. You can diagnostic logs for the below metrics to either storage account, Event hubs, Log analytics workspace. Please see below image for more info:

    116474-image.png

    1 person found this answer helpful.

  2. KranthiPakala-MSFT 46,487 Reputation points Microsoft Employee
    2021-08-02T21:58:41.917+00:00

    Hi @Dheeraj ,

    Apologies for the delay in response. As per my analysis you can find/monitor the information about completed/ended Apache Spark applications (log emitted by Apache Spark pools) by using the Log Analytics table: SynapseBigDataPoolApplicationsEnded

    119994-image.png

    Ref doc: Azure Synapse Analytics - Apache Spark pool log

    To know more about the table please refer to this doc - Azure Monitor - SynapseBigDataPoolApplicationsEnded.

    In addition to above info, also noticed that only Microsoft Support and the Azure Synapse Analytics engineering team can view and download diagnostic logs that are associated with your Apache Spark pools. Ref doc: Apache Spark diagnostic logs in Azure Synapse Analytics

    Hope this info helps.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.