# Get all successful login logs

**URL:** <https://community.auth0.com/t/get-all-successful-login-logs/117195>\
**Category:** Get Help\
**Tags:** logs, management-api\
**Created:** [September 26, 2023, 9:15pm UTC](https://community.auth0.com/t/get-all-successful-login-logs/117195 "2023-09-26T21:15:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meghashyam](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/meghashyam/32/49841_2.png) [@meghashyam](https://community.auth0.com/u/meghashyam)\
**Post date:** [September 26, 2023, 9:15pm UTC](https://community.auth0.com/t/get-all-successful-login-logs/117195/1 "2023-09-26T21:15:11Z")

</div>

Hi ,  
I am trying to retrieve all the logs of type successful and un successful login.But no API seems to fit the bill. I cannot use the pagination of the search logs API since there maybe a lot of these logs ( above 1000) , I was wondering how I can achieve this with the from , take parameters of the search logs API.  
Basically how do I find the last log that is stored at auth0 , so I can call the search logs API with the next link header until all logs are processed.  
I need this to create a periodic report which will be generated by an automated script every 10 days ( our tenant’s auth0 log retention days )

Any help is appreciated.

Thanks,  
Meghashyam S

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 28, 2023, 2:12pm UTC](https://community.auth0.com/t/get-all-successful-login-logs/117195/3 "2023-09-28T14:12:38Z")

</div>

Hi @meghashyam,

Welcome to the Auth0 Community!

I would recommend using out [Log Streams](https://auth0.com/docs/customize/log-streams) feature to export your logs to a provider with the capabilities you described here. Using a dedicated logging platform will give you a first-class log experience with Auth0.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 12, 2023, 2:12pm UTC](https://community.auth0.com/t/get-all-successful-login-logs/117195/4 "2023-10-12T14:12:57Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
