<?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: How to write event_log destination into DLT Settings JSON via Asset Bundles in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-write-event-log-destination-into-dlt-settings-json-via/m-p/113354#M44512</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/134556"&gt;@susanne&lt;/a&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;I’m sharing an option in case you find it useful. In my case, I was testing how to publish these tables using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Databricks Asset Bundles&lt;/STRONG&gt;, but I couldn’t get it to work. I'm not sure if I posted a question about this. Let’s see if we’re lucky and someone provides the corresponding property, if it exists.&lt;/P&gt;&lt;P class=""&gt;From what I’ve seen, it seems that this property doesn’t exist. So, I decided to create a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Python&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;script to handle this process. The script communicates directly with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Databricks API&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the corresponding workspace and, based on the ID of several pipelines, retrieves the configuration using a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;GET&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method. Then, it updates the configuration by adding the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;event_log&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and finally performs a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PUT&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to update it.&lt;/P&gt;&lt;P class=""&gt;Additionally, you can automate the execution of this job using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Databricks Asset Bundles&lt;/STRONG&gt;.&lt;/P&gt;&lt;P class=""&gt;I hope this option helps you.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 22 Mar 2025 12:51:27 GMT</pubDate>
    <dc:creator>jorperort</dc:creator>
    <dc:date>2025-03-22T12:51:27Z</dc:date>
    <item>
      <title>How to write event_log destination into DLT Settings JSON via Asset Bundles</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-event-log-destination-into-dlt-settings-json-via/m-p/113023#M44393</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I would like to publish the event_log of my DLT Pipeline to a specific schema in Unity Catalog.&lt;BR /&gt;Following this article (&lt;A href="https://docs.databricks.com/gcp/en/dlt/observability#query-the-event-log" target="_blank" rel="noopener"&gt;https://docs.databricks.com/gcp/en/dlt/observability#query-the-event-log&lt;/A&gt;) this can be done by writing this into the DLTs settings JSON:&lt;/P&gt;&lt;PRE&gt;  "event_log": {
    "catalog": "catalog_name",
    "schema": "schema_name",
    "name": "event_log_table_name"
  }&lt;/PRE&gt;&lt;P&gt;I want to incorporate this setting in my Databricks Asset Bundle Deployment, so it doesnt need to be manually added.&lt;BR /&gt;Is there a way to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks and best regards,&lt;BR /&gt;Susanne&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 09:06:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-event-log-destination-into-dlt-settings-json-via/m-p/113023#M44393</guid>
      <dc:creator>susanne</dc:creator>
      <dc:date>2025-03-19T09:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to write event_log destination into DLT Settings JSON via Asset Bundles</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-event-log-destination-into-dlt-settings-json-via/m-p/113354#M44512</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/134556"&gt;@susanne&lt;/a&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;I’m sharing an option in case you find it useful. In my case, I was testing how to publish these tables using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Databricks Asset Bundles&lt;/STRONG&gt;, but I couldn’t get it to work. I'm not sure if I posted a question about this. Let’s see if we’re lucky and someone provides the corresponding property, if it exists.&lt;/P&gt;&lt;P class=""&gt;From what I’ve seen, it seems that this property doesn’t exist. So, I decided to create a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Python&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;script to handle this process. The script communicates directly with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Databricks API&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the corresponding workspace and, based on the ID of several pipelines, retrieves the configuration using a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;GET&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method. Then, it updates the configuration by adding the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;event_log&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and finally performs a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PUT&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to update it.&lt;/P&gt;&lt;P class=""&gt;Additionally, you can automate the execution of this job using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Databricks Asset Bundles&lt;/STRONG&gt;.&lt;/P&gt;&lt;P class=""&gt;I hope this option helps you.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 22 Mar 2025 12:51:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-event-log-destination-into-dlt-settings-json-via/m-p/113354#M44512</guid>
      <dc:creator>jorperort</dc:creator>
      <dc:date>2025-03-22T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to write event_log destination into DLT Settings JSON via Asset Bundles</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-write-event-log-destination-into-dlt-settings-json-via/m-p/113996#M44702</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/134556"&gt;@susanne&lt;/a&gt;&amp;nbsp;, indeed , i tried to create it using dabs as well. This feature is not available using dabs I guess, maybe they will add it once event_logs moves to ga from public preview.&lt;BR /&gt;&lt;BR /&gt;databricks API will be a good alternative but if you try it using databricks SDK , it will be more secure.&lt;BR /&gt;doc link :&amp;nbsp;&lt;A href="https://databricks-sdk-py.readthedocs.io/en/latest/dbdataclasses/pipelines.html#databricks.sdk.service.pipelines.PipelineSpec" target="_blank"&gt;https://databricks-sdk-py.readthedocs.io/en/latest/dbdataclasses/pipelines.html#databricks.sdk.service.pipelines.PipelineSpec&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Mar 2025 09:52:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-write-event-log-destination-into-dlt-settings-json-via/m-p/113996#M44702</guid>
      <dc:creator>ashraf1395</dc:creator>
      <dc:date>2025-03-30T09:52:33Z</dc:date>
    </item>
  </channel>
</rss>

