Deployment Architecture

Seach head and search peer with multiple custom indexes

Starlette
Contributor

Hai there,

I have a indexer with index=a index=b, and a searchead connected to it ( default no changes yet)

When running a search on the searchhead i dont get any events UNLESS i give the index=a with it. I use a user ( as on the indexer) within the role of the "default" indexes

So what do I have to config to get the same defaults? ( meaning I get the summary listing and dont have to enter the index=a index=b etc....)

Thanks!

Tags (1)
0 Karma

I-Man
Communicator

For me, the search head wouldn't recognize my custom "Security" index. However if i specified index=security it would find everything. I found that creating another Security Index on the search head itself, splunk wises up and includes it in the search without specifying.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You need to configure indexes "a" and "b" as default indexes for the role that the user belongs to. For most users, only the "main" index is searched unless otherwise specified.

0 Karma
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 ...