<?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 create a raw data (with filter_by) to pull query history from now to 5 mins ago in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-create-a-raw-data-with-filter-by-to-pull-query-history/m-p/4327#M1076</link>
    <description>&lt;P&gt;Have you checked this &lt;A href="https://docs.databricks.com/api-explorer/workspace/queryhistory/list" target="test_blank"&gt;https://docs.databricks.com/api-explorer/workspace/queryhistory/list&lt;/A&gt; you can list the queries based on time range as well.  So you can try passing the fields in the filter_by parameter. Then pass the value as (current time - 5 min)&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 21:37:00 GMT</pubDate>
    <dc:creator>mathan_pillai</dc:creator>
    <dc:date>2023-05-24T21:37:00Z</dc:date>
    <item>
      <title>How to create a raw data (with filter_by) to pull query history from now to 5 mins ago</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-create-a-raw-data-with-filter-by-to-pull-query-history/m-p/4326#M1075</link>
      <description>&lt;P&gt;Hi Team, &lt;/P&gt;&lt;P&gt;Is it possible I can use "query_start_time_range" filter from the api call to get the query data only from now to 5 mins ago?&lt;/P&gt;&lt;P&gt;Im using telegraf to call query history api but it looks like Im reaching the max return and I can't find how to use the pagination from telegraf. &lt;/P&gt;&lt;P&gt;My idea is running telegraf every 5 min and get the query history for the last 5 mins. &lt;/P&gt;&lt;P&gt;Thanks for the help. &lt;/P&gt;&lt;P&gt;Chinu Lee &lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 23:45:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-create-a-raw-data-with-filter-by-to-pull-query-history/m-p/4326#M1075</guid>
      <dc:creator>Chinu</dc:creator>
      <dc:date>2023-05-15T23:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a raw data (with filter_by) to pull query history from now to 5 mins ago</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-create-a-raw-data-with-filter-by-to-pull-query-history/m-p/4327#M1076</link>
      <description>&lt;P&gt;Have you checked this &lt;A href="https://docs.databricks.com/api-explorer/workspace/queryhistory/list" target="test_blank"&gt;https://docs.databricks.com/api-explorer/workspace/queryhistory/list&lt;/A&gt; you can list the queries based on time range as well.  So you can try passing the fields in the filter_by parameter. Then pass the value as (current time - 5 min)&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 21:37:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-create-a-raw-data-with-filter-by-to-pull-query-history/m-p/4327#M1076</guid>
      <dc:creator>mathan_pillai</dc:creator>
      <dc:date>2023-05-24T21:37:00Z</dc:date>
    </item>
  </channel>
</rss>

