cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating event_log for dlt pipeline using dabs

21f3001806
New Contributor

Hi there, 

i have dlt pipeline and I recently came to know about the event_log feature, i want to deploy my dlt pipeline along with the event_log using databricks asset bundles but i am not able to find any resources for it.
If anyone has tried it , your help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

ashraf1395
Honored Contributor

Hi there @21f3001806 ,

I guess you are talking about the this : https://docs.databricks.com/api/workspace/pipelines/create#event_log
Its still in public preview 
I tried creating it through UI or by chaing the pipeline settings it worked. But when I implemented it through UI , but when I tried the same code on dabs it didn't work.

ashraf1395_0-1743328173650.png

bundle:
  name: event_log_dlt
resources:
  pipelines:
    event_log_pipeline:
      name: event_log_pipeline
      libraries:
        - notebook:
            path: ./test.ipynb
      schema: default
      development: true
      catalog: retail_data
      serverless: true
      event_log:
        name: event_log_test
        schema: default
        catalog: retail_data


Though I found out the same is available in databricks SDK as well. Try it from that It will work and will be more secure

https://databricks-sdk-py.readthedocs.io/en/latest/dbdataclasses/pipelines.html#databricks.sdk.servi...

View solution in original post

1 REPLY 1

ashraf1395
Honored Contributor

Hi there @21f3001806 ,

I guess you are talking about the this : https://docs.databricks.com/api/workspace/pipelines/create#event_log
Its still in public preview 
I tried creating it through UI or by chaing the pipeline settings it worked. But when I implemented it through UI , but when I tried the same code on dabs it didn't work.

ashraf1395_0-1743328173650.png

bundle:
  name: event_log_dlt
resources:
  pipelines:
    event_log_pipeline:
      name: event_log_pipeline
      libraries:
        - notebook:
            path: ./test.ipynb
      schema: default
      development: true
      catalog: retail_data
      serverless: true
      event_log:
        name: event_log_test
        schema: default
        catalog: retail_data


Though I found out the same is available in databricks SDK as well. Try it from that It will work and will be more secure

https://databricks-sdk-py.readthedocs.io/en/latest/dbdataclasses/pipelines.html#databricks.sdk.servi...

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now