Forum Discussion

vishesh_singhal's avatar
vishesh_singhal
Regular Visitor
1 year ago
Solved

how to get logs from dataflow gen2 and data pipeline to log analytics

Hello , how do i configure log analytics to get all details stroed in monitor hub to instead be added to log analytics for dataflow gen2 and data pipelines ?
  • v-prasare's avatar
    1 year ago

    Hi vishesh_singhal,

     

    To help you monitor Dataflow Gen2 and Data Pipelines more effectively in Microsoft Fabric, you can configure diagnostic settings that send logs from the Monitor Hub directly to an Azure Log Analytics workspace. By default, Monitor Hub captures rich metadata such as pipeline runs, dataflow executions, and error statuses, but this data isn't automatically exported to Log Analytics unless configured explicitly. 

     

    prerequisites: The first step is ensuring prerequisites are met you’ll need to be a Fabric Admin, have an Azure subscription with a Log Analytics workspace, and be using a paid Fabric capacity (as diagnostic settings are only supported in non-trial environments). Once confirmed

    configuration: open the Azure Portal and locate your Microsoft Fabric capacity resource. If the resource isn’t listed (as some tenants may not expose Fabric capacity directly yet), you can alternatively configure diagnostics at the Power BI workspace level using the Admin Portal.

    Next, navigate to Azure Monitor > Diagnostic settings and select your Fabric or Power BI resource. Create a new diagnostic setting, select log categories such as DataflowActivity, pipelineRun, and PipelineActivityRun, then choose your Log Analytics workspace as the destination. After saving this configuration, logs related to Dataflow Gen2 and Pipelines will begin streaming into your Log Analytics workspace, where they can be queried and analyzed.

     

     

     

     

    Thanks,

    Prashanth

    MS Fabric community support