# How to retrieve user hit count for a given date range instead of the total login count

**URL:** <https://community.auth0.com/t/how-to-retrieve-user-hit-count-for-a-given-date-range-instead-of-the-total-login-count/9013>\
**Category:** Get Help\
**Tags:** retrieve-login-count\
**Created:** [December 18, 2017, 6:23pm UTC](https://community.auth0.com/t/how-to-retrieve-user-hit-count-for-a-given-date-range-instead-of-the-total-login-count/9013 "2017-12-18T18:23:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanthh](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@srikanthh](https://community.auth0.com/u/srikanthh)\
**Post date:** [December 18, 2017, 6:23pm UTC](https://community.auth0.com/t/how-to-retrieve-user-hit-count-for-a-given-date-range-instead-of-the-total-login-count/9013/1 "2017-12-18T18:23:42Z")

</div>

We need a report of all the users who hits our App, number of times that the each user logs into our application.

Could you please let us know, what could be the best way to achieve this.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [December 19, 2017, 6:40pm UTC](https://community.auth0.com/t/how-to-retrieve-user-hit-count-for-a-given-date-range-instead-of-the-total-login-count/9013/2 "2017-12-19T18:40:16Z")

</div>

The most flexible approach, the one that would give you more control although at the cost of some complexity would be for you to configure the export of your tenant audit logs to a system that is unaffected by retention times and then query that information from the logs. Each authentication would generate a log that would include the client identifier along with the timestamp which would give you the fine-grained information you require.

There a bunch of extension that automate the export of logs to external systems so you may want to review [this list](https://auth0.com/docs/extensions#export-auth0-logs-to-an-external-service) to see if any would be of use.

---

<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:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/how-to-retrieve-user-hit-count-for-a-given-date-range-instead-of-the-total-login-count/9013/3 "2018-03-02T05:57:51Z")

</div>


