Developing for Splunk Enterprise

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

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

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, an upvote would be appreciated.

View solution in original post

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, an upvote would be appreciated.

View solution in original post