How to store custom & default logs from Azure Data Factory to App Insights

Rohit Kharade 0 Reputation points
2023-05-08T10:13:03.12+00:00

Hi Team,

I have 6 azure data factory pipelines and I want to store the default and custom logs from these pipelines into Azure App Insights. Kindly let me know about how it is done. Any kind of suggestion will be helpful.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Janne Kujanpää 256 Reputation points
    2023-05-08T12:38:08.5066667+00:00

    You should not use App Insights for this.

    You need to configure your ADF instance to send its logs to log analytics workspace. Then your ADF logs are available on AzureDiagnostics table or in ADF-specific tables.

    ref: https://learn.microsoft.com/en-us/azure/data-factory/monitor-configure-diagnostics

    Edit:

    1. Make sure that you use secure input and secure output settings on the actions that pass/use sensitive data
    2. secure output can be also used to mask output of stored proc/web/script/lookup calls. On some cases those activities generate so much log that Output field on log analytics contains only errors message and log analytics with other content will be impossible.
    0 comments No comments

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.