-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next_offset pagination in auth logs #265
Comments
The paging param name is I see the param name is given incorrectly in the auth logs section of that same doc page and will get that fixed. ETA - this was wrong; disregard |
I tried renaming it to |
Hm, OK. Investigating what it should actually be (since the other endpoints take |
OK, Looks like this is only sending the txid? |
I did pass them both at first and got same results. tried passing only the id and still no difference. I now tried using |
hmm
Limited to return one of two events; passing in the |
Im using this function
should I use a different function? I saw on the client that it has |
Also, I couldnt run your command separately, if you could please send me a cURL it would be great |
I think i'll rephrase my issue. I want to pull all auth logs data from the last x days, this data will be later parsed and plotted. is there a simpler way to do that with the client? |
Facing a similar issue. I am having trouble paginating the results in the activity logs, telephony logs, and authentication logs. Could someone please provide me with an example of the proper way to receive and paginate these logs in Python code? |
Hi any update on this? |
Hi, I'm trying to pull auth logs from the last 30 days using:
admin_api.get_authentication_log(api_version=2, kwargs=params)
I did manage to get them but I can't manage to paginate through the results via the 'next_offset' param. I always get the same next_offset in the response, I think I may use the wrong format or something but it isn’t well documented enough in the examples.
I printed the debug data to the console, for example in here I try to send 3 requests- first request has next_offset set 0, second request has an updated next_offset from the first request response but the third requests uses the same next_offset- it did not get a different value in the response.
If you can please provide me with Postman collections or code examples with pagination through the results(we have over 20,000 results over the last month) it would be appreciated
Thanks in advance
The text was updated successfully, but these errors were encountered: