Splunk Search

Splunk search goes through 'main' index only

africates
Explorer

Hi,

When I try to search anything through either 'Search & Reporting' or 'Splunk App for Windows Infrastructure' I am getting results only from 'main' index.

The same applies to 'Data Summary' - I'm only able to see the hosts which forwarded some events to 'main' index.

Can I change this somehow so search is executed on all indexes apart from these internal ones?

thanks
p

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

You could either specify the index(es) you want to search in the search itself:

index=A OR index=B sourcetype=foo ...

Or you can add more indexes to the indexes searched by default for your user's role... which by default only searches index=main. There even is a button for "all non-internal indexes" at Settings -> Authentication -> Roles -> Your Role -> all the way at the bottom

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

You could either specify the index(es) you want to search in the search itself:

index=A OR index=B sourcetype=foo ...

Or you can add more indexes to the indexes searched by default for your user's role... which by default only searches index=main. There even is a button for "all non-internal indexes" at Settings -> Authentication -> Roles -> Your Role -> all the way at the bottom

Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...