Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm looking to monitor usage and audit logs for our Qlik Sense SAAS subscription. This can be achieved using the Audit API (https://qlik.dev/apis/rest/audits) however, the API has some strange limitations when I am trying to get a month's worth of logs.
Using GET/audits allows me to specify a date range with eventTime param, however this call has a limit of 100 responses, which is extremely limiting as each day we have thousands of events.
Using GET/audits/archive allows for all logs to be returned without limit as far as I am aware, but for some reason does not allow a date range so would I just have to run this ~30 times to get a specific month's logs?
Please let me know if there is any simple way to aggregate a specific month's worth of data, either using the API or directly through the service.
Thank you!
You need to use pagination to fetch all of the data-"parts"
https://qlik.dev/basics/pagination-sorting-filtering#pagination
Hey, thanks for the response, I've had a look at the documentation and am still a little confused as to how to use pagination, what would the sample request be for getting all audit events in February?
E.g. This would get me the events on the 1st of February: <hostname>.us.qlikcloud.com/api/v1/audits/archive?date=2022-02-01
How would I modify this query to get all of February?
Thank you!