How to get list of users never logged into Confluence

We running out of license. Need to revoke for those, who have never logged into Confluence.

Is there a way to get this list ?

Manually check in each of user’s profile, in login info, is tedious and impracticable for 2000 users.

Any thoughts, are much appreciated. Thanks in advance.

Documentation is pretty clear in that: https://confluence.atlassian.com/confkb/how-to-identify-inactive-users-in-confluence-214335880.html
It is part of a more general howtos

There is also a really good app for it available in the marketplace:

With that app you can not only get the list of users, but also automatically revoke them.