Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I've been asked on some of our self-serve apps to review usage.
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.
I've managed to pull the Audit Log archive by data from the below API
https://qlik.dev/apis/rest/audits/#get-v1-audits-sources
It's not clear in the documents, but is it possible to drill to only audit request that:
I've already got a subset of apps that I'd like to specifically query on in a Pandas Dataframe already
Is there a way to optimise the Audits ( Archive ) query beyond just date?
Python code - currently just querying by date:
url = "https://MyTennant.eu.qlikcloud.com/api/v1/audits/archive?date=2025-05-04"
resp = requests.get(url, headers=headers).json()
resp[0]
Consider taking a look at https://qlik.dev/apis/rest/audits/. 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.
Note that sheet usage information is available in the newer versions of the App Analyzer: https://github.com/qlik-oss/qlik-cloud-app-analyzer
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.
Consider taking a look at https://qlik.dev/apis/rest/audits/. 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.
Note that sheet usage information is available in the newer versions of the App Analyzer: https://github.com/qlik-oss/qlik-cloud-app-analyzer
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.
Oh very cool! Thanks for sharing.
I can use this as a rough barometer of what's used in a 90-Day rolling window.
Perhaps I can build something to record the 'never-used' sheets that have no recorded sessions and flag those for clean-up.
I just added a sheet with a treemap breaking down App/Sheet by days since last accessed with some eye-burning colours