Getting Data In

Do you have to specify an index to find ALL sourcetypes?

lawlzsloth
Engager

In Splunk 6.1, do you have to specify an index in the search line to have results pulled back? Ex. When searching for syslogs stored on the indexer, typing in sourcetype="syslog" would not bring back the complete results. I found that specifying the index would bring back the results. Index=* Sourcetype="syslog" brought back all the syslogs. Typing in (sourcetype="syslog") by itself would not yield much.

0 Karma
1 Solution

Ayn
Legend

It depends on in which indexes your data resides, and which indexes your user or role is set to search by default. The default setting is to just search the main index, so if you haven't changed that and have data in other indexes, that's why you won't find all data unless you specify that all indexes should be searched.

This can be easily configured in the Access controls section in the manager.

View solution in original post

Ayn
Legend

It depends on in which indexes your data resides, and which indexes your user or role is set to search by default. The default setting is to just search the main index, so if you haven't changed that and have data in other indexes, that's why you won't find all data unless you specify that all indexes should be searched.

This can be easily configured in the Access controls section in the manager.

View solution in original post

lawlzsloth
Engager

This worked like a charm. Thanks so much!

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!