-
How can I get ids of all users active in the last three months? I see that search has a limit of 10k users (see https://github.com/FusionAuth/fusionauth-issues/issues/494 )
-
To get User Ids, you’d want to use the Search API, and make requests in smaller windows to keep under 10k and than add the results. For example, you could request all users with a username starting with
a, and thenb, and so on. Definitely recommend scripting this.As long as you have enough RAM for ElasticSearch, 10k for
numberOfResultsshould be just fine. You’ll just need to make sure your query is narrow enough such that thetotalNumberOfResultsthat comes back from FusionAuth is below 10k, otherwise you won’t know for sure if you received an exhaustive result set from your query.We will be enhancing the Search API shortly to work around this Elasticsearch limitation (github issue).
-
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login