Using this search command
| eventcount summarize=false | dedup index | fields index
I get a list of all indexes I have access to in Splunk. Is it also possible to get another column besides this within which the source for the index is visible too?
EDIT: It seems like I found a solution:
| tstats count WHERE index=* sourcetype=* source=* by index, sourcetype, source | fields - count
This gives back a list with columns for indexes, sourcetypes and sources.