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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...