<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automated/Native logging of pipeline activities into OneLake in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177292#M9427</link>
    <description>&lt;P&gt;Thanks for your quick response Tamanchu ! It helps a lot.&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2026 07:46:50 GMT</pubDate>
    <dc:creator>SanthoshKumar19</dc:creator>
    <dc:date>2026-05-04T07:46:50Z</dc:date>
    <item>
      <title>Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5159772#M9400</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Fabric team,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’m exploring options for monitoring and governance of pipelines in Microsoft Fabric. Currently, &lt;STRONG&gt;diagnostic logging&lt;/STRONG&gt; seems to capture only &lt;STRONG&gt;pipeline-level metadata&lt;/STRONG&gt; (run ID, status, start/end time, error messages, item kind, item name, duration).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My requirement is to have &lt;STRONG&gt;activity-level logs&lt;/STRONG&gt; (e.g., Copy Data row counts, duration, Notebook outputs, start/end time, activity name etc.,) automatically captured for each activity inside a pipeline run, and then stored centrally in &lt;STRONG&gt;OneLake&lt;/STRONG&gt; for later analysis purpose.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any &lt;STRONG&gt;native/automated way&lt;/STRONG&gt; in Fabric to log all activities inside each pipeline run (not just pipeline metadata)?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for guidance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 07:46:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5159772#M9400</guid>
      <dc:creator>SanthoshKumar19</dc:creator>
      <dc:date>2026-04-28T07:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5159833#M9402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1315350" data-lia-user-login="SanthoshKumar19" class="lia-mention lia-mention-user"&gt;SanthoshKumar19&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This response was enhanced with the assistance of an AI tool. The information has been verified against the official Microsoft Fabric documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's currently no fully native/automated way to push activity-level logs directly to OneLake Fabric's built-in diagnostic settings only capture pipeline-level metadata (run ID, status, duration, errors), not individual activity outputs.&lt;/P&gt;&lt;P&gt;Here are the two most practical approaches:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 1 : Instrument your pipelines with expressions (recommended)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After each key activity, add a Script activity (or a lightweight Notebook activity) that writes a row to a Delta table in your Lakehouse using pipeline expressions :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;@pipeline().RunId → pipeline run ID&lt;/LI&gt;&lt;LI&gt;@pipeline().Pipeline → pipeline name&lt;/LI&gt;&lt;LI&gt;@utcNow() → timestamp&lt;/LI&gt;&lt;LI&gt;@activity('YourCopyActivity').output.rowsCopied → rows written&lt;/LI&gt;&lt;LI&gt;@activity('YourCopyActivity').output.dataRead → bytes read&lt;/LI&gt;&lt;LI&gt;@activity('YourCopyActivity').output.copyDuration → duration in seconds&lt;/LI&gt;&lt;LI&gt;@activity('YourCopyActivity').status → Succeeded / Failed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You build a reusable "log writer" child pipeline that accepts these as parameters then call it from any pipeline after each key step.&lt;/P&gt;&lt;P&gt;→ Docs: &lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/expression-language" target="_blank" rel="noopener"&gt;Pipeline expression language – system variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 2 : REST API post-run harvest&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After each pipeline run completes, trigger a Notebook that calls the Fabric REST API to fetch the full activity run details and append them to your log table:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GET &lt;A href="https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{pipelineId}/jobs/{jobInstanceId}" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{pipelineId}/jobs/{jobInstanceId}&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This gives you structured activity-level output for any completed run.&lt;/P&gt;&lt;P&gt;→ Docs: &lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/core/job-scheduler/get-item-job-instance?tabs=HTTP" target="_blank" rel="noopener"&gt;Get Item Job Instance – Fabric REST API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 1 is simpler to set up and gives you real-time logging per activity. Option 2 is better if you want to keep your pipelines clean and harvest logs asynchronously.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This response was drafted with AI assistance and reviewed/validated before posting.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2026 08:42:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5159833#M9402</guid>
      <dc:creator>Tamanchu</dc:creator>
      <dc:date>2026-06-19T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5160070#M9404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1315350" data-lia-user-login="SanthoshKumar19" class="lia-mention lia-mention-user"&gt;SanthoshKumar19&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fabric doesn't have a built in way to do this, but you can build it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WHat I've done is I have a UDF that takes in the output string of a copy data activity, parses out the information, and writes it to a warehouse.&amp;nbsp;&lt;BR /&gt;I then call that UDF after every copy data activity in my pipelines to capture all the data. A little kludgy, but functional.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 13:29:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5160070#M9404</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2026-04-28T13:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177248#M9426</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1315350" data-lia-user-login="SanthoshKumar19" class="lia-mention lia-mention-user"&gt;SanthoshKumar19&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1357760" data-lia-user-login="Tamanchu" class="lia-mention lia-mention-user"&gt;Tamanchu&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1340679" data-lia-user-login="tayloramy" class="lia-mention lia-mention-user"&gt;tayloramy&lt;/a&gt;&amp;nbsp;for the prompt response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if the solution provided by the user's for the issue worked?&amp;nbsp;or let us know if you need any further assistance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 06:47:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177248#M9426</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-05-04T06:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177292#M9427</link>
      <description>&lt;P&gt;Thanks for your quick response Tamanchu ! It helps a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 07:46:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177292#M9427</guid>
      <dc:creator>SanthoshKumar19</dc:creator>
      <dc:date>2026-05-04T07:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177293#M9428</link>
      <description>&lt;P&gt;Thanks Taylor for your inputs &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍🏻&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 07:47:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177293#M9428</guid>
      <dc:creator>SanthoshKumar19</dc:creator>
      <dc:date>2026-05-04T07:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177295#M9429</link>
      <description>&lt;P&gt;Yes &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882907" data-lia-user-login="v-achippa" class="lia-mention lia-mention-user"&gt;v-achippa&lt;/a&gt;&amp;nbsp;I could able to get the solution from the responses. Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 07:49:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5177295#M9429</guid>
      <dc:creator>SanthoshKumar19</dc:creator>
      <dc:date>2026-05-04T07:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5178679#M9437</link>
      <description>&lt;P&gt;This is not automatic but I have a working solution in production using an Eventhouse and KQL. Create the Eventhouse and a table (run_id STRING, item_name STRING), then add a KQL activity with:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.ingest inline into table MyLogTable ["@{pipeline().RunId}","@{item().table_name}"]&lt;/LI-CODE&gt;&lt;P&gt;This has a marginally better real-time contract than an, "ordinary," row insertion. The Eventhouse can undergo ELT if that's desirable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2026 14:49:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5178679#M9437</guid>
      <dc:creator>stephan_samuel</dc:creator>
      <dc:date>2026-05-06T14:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Automated/Native logging of pipeline activities into OneLake</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5181797#M9458</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1315350" data-lia-user-login="SanthoshKumar19" class="lia-mention lia-mention-user"&gt;SanthoshKumar19&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Since there isn't a native solution for this yet, I use the following workaround:&lt;/P&gt;&lt;P&gt;Immediately after the main Copy activity completes (triggered on both the success and failure paths), I run a secondary "dummy" Copy activity. This activity captures the execution logs and saves them as a JSON file to a designated location with a custom name.&lt;/P&gt;&lt;P&gt;From there, I create a Shortcut to that folder. Fabric seamlessly exposes those JSON files as a Delta table, making your log data instantly available for querying or reporting in a dashboard.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2026 22:24:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Automated-Native-logging-of-pipeline-activities-into-OneLake/m-p/5181797#M9458</guid>
      <dc:creator>Lozovskyi</dc:creator>
      <dc:date>2026-05-12T22:24:09Z</dc:date>
    </item>
  </channel>
</rss>

