Splunk Dev

Why do we have to use "index=*" in our development environment, but not in production?

ajs
Engager

We have export and import some data from our production to development environment with same fields. But we found that "index=*" must be added to query in development environment. Could we know what we should set to make it the same as production? Thanks.

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Verify the user roles are the same in PROD and DEV. It sounds like the DEV role does not have the same set of default indexes as the PROD role. Go to Settings->Access controls->Roles and select the appropriate role. Check the settings under "Indexes searched by default".

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Verify the user roles are the same in PROD and DEV. It sounds like the DEV role does not have the same set of default indexes as the PROD role. Go to Settings->Access controls->Roles and select the appropriate role. Check the settings under "Indexes searched by default".

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...