Hello Abhiram,
Hope you are doing well today. It's possible that the error messages, error codes, and details you're looking for are not included in the SynapseIntegrationActivityRuns table by default. However, you can customize the diagnostic logging to include the information you need.
To do this, you can create a custom logging schema for your Synapse workspace. This will allow you to include additional fields in the logs, such as error messages and codes. Here are the high-level steps you can follow to create a custom logging schema:
- Create a new logging schema JSON file that includes the fields you want to log. You can include fields such as error message, error code, and any other details you need.
- Upload the logging schema file to your Azure Storage account.
- In the Synapse workspace, go to the "Workspace settings" tab and select "Diagnostic settings".
- Create a new diagnostic setting and select the data types you want to log (e.g., pipeline runs, activity runs).
- Under "Destination details", select "Log Analytics" and choose the Log Analytics workspace where you want to store the logs.
- Under "Additional logging settings", select "Custom logging" and provide the path to the logging schema file you uploaded to Azure Storage.
Once you've completed these steps, the logs generated by your Synapse workspace should include the additional fields you specified in the custom logging schema. You can then query the logs in Log Analytics to view error messages, error codes, and other details for your pipeline and activity runs.
Regards,
Umang Middha
umangmiddha2@gmail.com