<?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: audits api for capturing sheet usage by date? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/audits-api-for-capturing-sheet-usage-by-date/m-p/2520377#M22262</link>
    <description>&lt;P&gt;Consider taking a look at&amp;nbsp;&lt;A href="https://qlik.dev/apis/rest/audits/" target="_blank"&gt;https://qlik.dev/apis/rest/audits/&lt;/A&gt;. The base audits path offers up the past 90 days of data while accepting filtering by event type, source, time, and originating user. The audits endpoint you're currently using doesn't offer these filters.&lt;/P&gt;
&lt;P&gt;Note that sheet usage information is available in the newer versions of the App Analyzer:&amp;nbsp;&lt;A href="https://github.com/qlik-oss/qlik-cloud-app-analyzer" target="_blank"&gt;https://github.com/qlik-oss/qlik-cloud-app-analyzer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Further filtering within the event isn't supported at the moment, but will be something possible in the new telemetry solution we're currently working on.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jun 2025 11:56:39 GMT</pubDate>
    <dc:creator>Dave_Channon</dc:creator>
    <dc:date>2025-06-06T11:56:39Z</dc:date>
    <item>
      <title>audits api for capturing sheet usage by date?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/audits-api-for-capturing-sheet-usage-by-date/m-p/2520214#M22257</link>
      <description>&lt;P&gt;I've been asked on some of our self-serve apps to review usage.&lt;/P&gt;&lt;P&gt;Where users are able to build their own sheets in the app, some now have 80+ sheets, and from the app itself or the current Qlik monitoring apps, it's hard to tell which sheets are in regular use, either by automation runs or by users accessing the sheets.&lt;/P&gt;&lt;P&gt;I've managed to pull the Audit Log archive by data from the below API&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlik.dev/apis/rest/audits/#get-v1-audits-sources" target="_blank" rel="noopener"&gt;https://qlik.dev/apis/rest/audits/#get-v1-audits-sources&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not clear in the documents, but is it possible to drill to only audit request that:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;use specific app ids&lt;/LI&gt;&lt;LI&gt;reside in a specific space&lt;/LI&gt;&lt;LI&gt;event &lt;EM&gt;type&lt;/EM&gt; is a sheet view/interaction or automation step that creates a report page from a sheet&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;I've already got a subset of apps that I'd like to specifically query on in a Pandas Dataframe already&lt;/P&gt;&lt;P&gt;Is there a way to optimise the Audits ( Archive ) query beyond just date?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Python code&amp;nbsp; - currently just querying by date:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;url = "&lt;A href="https://MyTennant.eu.qlikcloud.com/api/v1/audits/archive?date=2025-05-04" target="_blank"&gt;https://MyTennant.eu.qlikcloud.com/api/v1/audits/archive?date=2025-05-04&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;resp = requests.get(url, headers=headers).json()&lt;/P&gt;&lt;P&gt;resp[0]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 08:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/audits-api-for-capturing-sheet-usage-by-date/m-p/2520214#M22257</guid>
      <dc:creator>110</dc:creator>
      <dc:date>2025-06-05T08:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: audits api for capturing sheet usage by date?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/audits-api-for-capturing-sheet-usage-by-date/m-p/2520377#M22262</link>
      <description>&lt;P&gt;Consider taking a look at&amp;nbsp;&lt;A href="https://qlik.dev/apis/rest/audits/" target="_blank"&gt;https://qlik.dev/apis/rest/audits/&lt;/A&gt;. The base audits path offers up the past 90 days of data while accepting filtering by event type, source, time, and originating user. The audits endpoint you're currently using doesn't offer these filters.&lt;/P&gt;
&lt;P&gt;Note that sheet usage information is available in the newer versions of the App Analyzer:&amp;nbsp;&lt;A href="https://github.com/qlik-oss/qlik-cloud-app-analyzer" target="_blank"&gt;https://github.com/qlik-oss/qlik-cloud-app-analyzer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Further filtering within the event isn't supported at the moment, but will be something possible in the new telemetry solution we're currently working on.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 11:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/audits-api-for-capturing-sheet-usage-by-date/m-p/2520377#M22262</guid>
      <dc:creator>Dave_Channon</dc:creator>
      <dc:date>2025-06-06T11:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: audits api for capturing sheet usage by date?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/audits-api-for-capturing-sheet-usage-by-date/m-p/2520436#M22263</link>
      <description>&lt;P&gt;Oh very cool!&amp;nbsp; Thanks for sharing.&lt;BR /&gt;&lt;BR /&gt;I can use this as a rough barometer of what's used in a 90-Day rolling window.&lt;BR /&gt;&lt;BR /&gt;Perhaps I can build something to record the&amp;nbsp; 'never-used' sheets that have no recorded sessions and flag those for clean-up.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just added a sheet with a treemap breaking down App/Sheet by days since last accessed with some eye-burning colours&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="110_0-1749232240677.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181119iE05F8018D08BAE29/image-size/large?v=v2&amp;amp;px=999" role="button" title="110_0-1749232240677.png" alt="110_0-1749232240677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 17:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/audits-api-for-capturing-sheet-usage-by-date/m-p/2520436#M22263</guid>
      <dc:creator>110</dc:creator>
      <dc:date>2025-06-06T17:53:34Z</dc:date>
    </item>
  </channel>
</rss>

