We aim to migrate our Jira server instance, which currently has over 4500 active users, hence we require information like recently logged users.
1) Count of user login's withing 24 Hours.
2) Count of user login's withing Last 7 Days.
3) Count of user login's withing One month, Six Moths and Year.
Since it is business critical Please guide on this script.