<?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: access to event_log TVF in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/61690#M31829</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I am also facing the same issue, even after following all the steps mentioned, I am not able to query the event logs.&lt;BR /&gt;any help will be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 11:29:21 GMT</pubDate>
    <dc:creator>neha_ayodhya</dc:creator>
    <dc:date>2024-02-23T11:29:21Z</dc:date>
    <item>
      <title>access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/42498#M27393</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/delta-live-tables/observability.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/delta-live-tables/observability.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The&amp;nbsp;&lt;/SPAN&gt;event_log&lt;SPAN&gt;&amp;nbsp;TVF can be called only by the pipeline owner and a view created over the&amp;nbsp;&lt;/SPAN&gt;event_log&lt;SPAN&gt;&amp;nbsp;TVF can be queried only by the pipeline owner. &lt;STRONG&gt;The view cannot be shared with other users.&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you suggest a workaround?&lt;/P&gt;&lt;P&gt;After searching there is another documentation that says"&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/functions/event_log" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/functions/event_log&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;"Only owners of the pipeline, streaming table, or materialized view can view the event log. &lt;STRONG&gt;Create a view and grant users access on the view to allow other users to query the event log."&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;gt; CREATE VIEW event_log_raw AS SELECT * FROM event_log(table(my_mv));&lt;BR /&gt;&amp;gt; GRANT SELECT ON VIEW event_log_raw TO `user@databricks.com`;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After granting users access on the view I created,&amp;nbsp; the user still can't access the view I created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would appreciate your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:08:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/42498#M27393</guid>
      <dc:creator>giladba</dc:creator>
      <dc:date>2023-08-28T13:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/42528#M27398</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/84268"&gt;@giladba&lt;/a&gt;&amp;nbsp;What is the error the user is getting after granting the permission?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 14:44:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/42528#M27398</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2023-08-28T14:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/42530#M27399</link>
      <description>&lt;P&gt;&lt;SPAN&gt;com.databricks.backend.common.rpc.SparkDriverExceptions$SQLExecutionException: com.databricks.sql.managedcatalog.acl.UnauthorizedAccessException: PERMISSION_DENIED: User does not have permission to access event logs of pipeline '&lt;EM&gt;pipelineid&lt;/EM&gt;'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 14:47:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/42530#M27399</guid>
      <dc:creator>giladba</dc:creator>
      <dc:date>2023-08-28T14:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/42778#M27419</link>
      <description>&lt;P&gt;Thanks. The user is part of a group that has select on the relevant view and all the parent permissions needed for the Unity Catalog.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 11:17:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/42778#M27419</guid>
      <dc:creator>giladba</dc:creator>
      <dc:date>2023-08-29T11:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/61690#M31829</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am also facing the same issue, even after following all the steps mentioned, I am not able to query the event logs.&lt;BR /&gt;any help will be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 11:29:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/61690#M31829</guid>
      <dc:creator>neha_ayodhya</dc:creator>
      <dc:date>2024-02-23T11:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/70274#M34044</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;We are using Databricks on Azure but I suspect this issue impacts all cloud providers.&amp;nbsp; Essentially, the event_log Table Value Function is only allowing Pipeline Owner to view logs and this is too restrictive.&amp;nbsp; Despite documentation that states the owner can grant SELECT privileges on a view to other users/groups, this functionality does not work (error is unauthorized as documented above):&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/functions/event_log#usage" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/functions/event_log#usage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The documented approach at the link above likely doesn't work as users would need to also be granted SELECT on the underlying object (Table?).&amp;nbsp; In our scenario, we have a Service Principal running our DLT pipelines and need our Data Engineers (group) to be able to view (troubleshoot, monitor, etc.) the event_log of these pipelines.&lt;/P&gt;&lt;P&gt;Would you please raise this as a bug (if intended functionality is to allow granting select permissions) or as a new feature as the current capability is too restrictive.&lt;/P&gt;&lt;P&gt;Resolving this issue will unlock a lot of value for the Databricks community as the event_log contains highly valuable information.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 20:37:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/70274#M34044</guid>
      <dc:creator>hcjp</dc:creator>
      <dc:date>2024-05-22T20:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/72340#M34550</link>
      <description>&lt;P&gt;Is there already a solution for this?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 14:52:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/72340#M34550</guid>
      <dc:creator>larsbbb</dc:creator>
      <dc:date>2024-06-11T14:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/73797#M34668</link>
      <description>&lt;P&gt;As per this documentation,&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/unity-catalog," target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/unity-catalog,&lt;/A&gt;&amp;nbsp;the issue here is documented as a current Limitation:&lt;/P&gt;&lt;DIV class=""&gt;&lt;H2&gt;Limitations&lt;/H2&gt;&lt;/DIV&gt;&lt;P&gt;The following are limitations when using Unity Catalog with Delta Live Tables:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;You cannot use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;event_log&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/observability#event-log-with-uc" target="_blank" rel="noopener"&gt;table valued function&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in a pipeline or query to access the event logs of multiple pipelines. (hcjp: not directly related to this thread but also delivers value when limitation removed)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You cannot share a view created over the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;event_log&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/observability#event-log-with-uc" target="_blank" rel="noopener"&gt;table valued function&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with other users. (hcjp: limitation associated with this specific issue)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;- I think the community ask, or at least those on this thread, is to get some visibility into when these limitations will be removed.&amp;nbsp; Is this currently on the backlog and, if not, is there some way we can upvote it?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 15:02:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/73797#M34668</guid>
      <dc:creator>hcjp</dc:creator>
      <dc:date>2024-06-13T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/74000#M34695</link>
      <description>&lt;P&gt;Thank you for summarizing the issues &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/105605"&gt;@hcjp&lt;/a&gt;! Looking forward to the reply of&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 09:24:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/74000#M34695</guid>
      <dc:creator>larsbbb</dc:creator>
      <dc:date>2024-06-14T09:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/104395#M41722</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106294"&gt;@Alberto_Umana&lt;/a&gt;&amp;nbsp;Maybe you have some insights regarding this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 16:05:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/104395#M41722</guid>
      <dc:creator>mkEngineer</dc:creator>
      <dc:date>2025-01-06T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/104412#M41733</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;
&lt;P&gt;I will check internally if there is a feature request on this so I can upvote.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 17:24:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/104412#M41733</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-06T17:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/111516#M43922</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;In our scenario, we have a Service Principal running our DLT pipelines and need our Data Engineers (group) to be able to view (troubleshoot, monitor, etc.) the event_log of these pipelines.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;In virtually every scenario for every customer the above will be the case.&lt;/P&gt;&lt;P&gt;Please provide a work around.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2025 11:58:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/111516#M43922</guid>
      <dc:creator>LakehouseGuy</dc:creator>
      <dc:date>2025-03-02T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: access to event_log TVF</title>
      <link>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/112340#M44183</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/151586"&gt;@LakehouseGuy&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/122685"&gt;@mkEngineer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/105605"&gt;@hcjp&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/96738"&gt;@neha_ayodhya&lt;/a&gt; I just saw the following option in dlt pipelines! I haven't testing it yet, but it looks promising.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="larsbbb_0-1741768083985.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/15352i7B94E931799AD27A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="larsbbb_0-1741768083985.png" alt="larsbbb_0-1741768083985.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This also looks new documentation:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dlt/observability#query-event-log" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dlt/observability#query-event-log&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe someone from the databricks team can confirm this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 08:30:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-to-event-log-tvf/m-p/112340#M44183</guid>
      <dc:creator>larsbbb</dc:creator>
      <dc:date>2025-03-12T08:30:03Z</dc:date>
    </item>
  </channel>
</rss>

