<?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: Is it possible to obtain a job's event log via the REST API? in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105792#M9083</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142679"&gt;@mrstevegross&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately the API job/get does not have event logs in its output. I will see if there is a workaround, but as far as I can tell from REST API might no be possible.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 19:17:47 GMT</pubDate>
    <dc:creator>Alberto_Umana</dc:creator>
    <dc:date>2025-01-15T19:17:47Z</dc:date>
    <item>
      <title>Is it possible to obtain a job's event log via the REST API?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105791#M9082</link>
      <description>&lt;P&gt;Currently, to investigate job performance, I can look at a job's information (via the UI) to see the "Event Log" (pictured below):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mrstevegross_0-1736967992555.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14150iD87CED0C29D76505/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mrstevegross_0-1736967992555.png" alt="mrstevegross_0-1736967992555.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'd like to obtain this information programmatically, so I can analyze it across jobs. However, the docs for the `get` call (&lt;A href="https://docs.databricks.com/api/workspace/jobs/get" target="_blank"&gt;https://docs.databricks.com/api/workspace/jobs/get&lt;/A&gt;) do not appear to include information about the event log. Is there a way to get this info via the REST API?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:07:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105791#M9082</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-01-15T19:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to obtain a job's event log via the REST API?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105792#M9083</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142679"&gt;@mrstevegross&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately the API job/get does not have event logs in its output. I will see if there is a workaround, but as far as I can tell from REST API might no be possible.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:17:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105792#M9083</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-15T19:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to obtain a job's event log via the REST API?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105793#M9084</link>
      <description>&lt;P&gt;Can you give me more context on why do you need event logs?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:18:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105793#M9084</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-15T19:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to obtain a job's event log via the REST API?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105794#M9085</link>
      <description>&lt;P&gt;Darn, well, good to know. Can y'all consider this a feature request in that case?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:25:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105794#M9085</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-01-15T19:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to obtain a job's event log via the REST API?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105795#M9086</link>
      <description>&lt;P&gt;Sure, I want to assess the overall performance of our Spark jobs, particularly the time between "CREATING" and "RUNNING". It's very time-consuming to gather this data manually via the UI; if there is a way to get it programmatically that would be great.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:26:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/105795#M9086</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-01-15T19:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to obtain a job's event log via the REST API?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/111165#M9087</link>
      <description>&lt;P&gt;Followup: I see that there is documentation on exporting Spark logs (&lt;A href="https://docs.databricks.com/aws/en/compute/clusters-manage#event-log" target="_blank"&gt;https://docs.databricks.com/aws/en/compute/clusters-manage#event-log&lt;/A&gt;) and init script logging (&lt;A href="https://docs.databricks.com/aws/en/init-scripts/logs#init-script-events" target="_blank"&gt;https://docs.databricks.com/aws/en/init-scripts/logs#init-script-events&lt;/A&gt;). I've been able to export the spark logs itself, but I'm not seeing the job event information there. Is there some way to gather the event log via these mechanisms?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 21:33:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/111165#M9087</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-02-25T21:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to obtain a job's event log via the REST API?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/111167#M9088</link>
      <description>&lt;P&gt;I also see there is a "list cluster events" API (&lt;A href="https://docs.databricks.com/api/workspace/clusters/events" target="_blank"&gt;https://docs.databricks.com/api/workspace/clusters/events&lt;/A&gt;); can I get the event log this way?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 21:43:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/is-it-possible-to-obtain-a-job-s-event-log-via-the-rest-api/m-p/111167#M9088</guid>
      <dc:creator>mrstevegross</dc:creator>
      <dc:date>2025-02-25T21:43:33Z</dc:date>
    </item>
  </channel>
</rss>

