Below blog explains the same :
You can use ADF system variables to get your values
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What are the steps to create a log file for the execution of the pipeline in Azure Synapse Analytics? I am looking to include specific columns, such as pipeline_run_id, pipeline status, pipeline start time, pipeline end time, pipeline duration, rows read, rows written, error, error message, etc.
Below blog explains the same :
You can use ADF system variables to get your values
To create a log file for the execution of a pipeline in Azure Synapse Analytics, you can use the built-in logging functionality provided by Synapse Studio. This allows you to monitor the latest status, issues, and progress of your pipelines.
Here are the steps to view the pipeline runs list and filter your pipeline runs:
Regarding the specific columns you mentioned, Synapse Studio provides a set of system variables that you can use to include in your pipeline logs. However, not all the columns you mentioned are available as system variables.
Here are some of the system variables that you can use to include in your pipeline logs:
To include these system variables in your pipeline logs, you can use the Set Variable activity in your pipeline and set the value to the system variable you want to include. Then, you can use the Append Variable activity to append the value of the system variable to a log file.
For more information on how to monitor pipeline runs using Synapse Studio, please refer to the official Azure documentation: Monitor pipeline runs using Synapse Studio.
I hope this helps! Let me know if you have any more questions.