|tstats values(sourcetype) by index
I have 10 indexes, but I only get "main" when I run the search above.
How can I get all my sourcetype(s) by index?
Thanks
You need to specify the indexes else, it only shows data from the index set as your "indexes searched by default" in your user/role.
|tstats values(sourcetype) WHERE index=* by index
You need to specify the indexes else, it only shows data from the index set as your "indexes searched by default" in your user/role.
|tstats values(sourcetype) WHERE index=* by index