I have a multiple index system where some roles can search some indexes and other roles other indexes. My personal user has several roles with access to multiple indexes. There are enough of them that I sometimes want to review the list for reference.
Is there a search or some other nice way to the list of indexes I am allowed to search?
For a specific user, the easiest and fastest is:
| eventcount summarize=f index=_* index=* | stats count by index
Every user can run this from search, so you don't need access to rest. On the other hand, you can't get this information for another user using this method. It will include indexes that are empty as well.