Splunk Enterprise

Search without index not working

lucas4394
Path Finder

I installed the latest version of Splunk on my local machine and play around. I created a index with various sourcetypes, but search doesn't work without index specified. I saw another post here, https://answers.splunk.com/answers/71694/search-without-index-not-working.html, but I have no ideas where to edit? Can anyone help? Thanks.

Labels (1)
Tags (1)
0 Karma
1 Solution

ragedsparrow
Contributor

You will have to go into the role settings and make sure that the index you are wanting to search is within the default indexes for the role that you are under:

You can see/change this under Settings » Users and Authentication » Roles » < Your Role > » Default indexes

The menus are a little different between 7.x and 8.x.

In 8.x you will select your role and find the indexes tab. Then choose the index and make sure that "Default" is checked.
In 7.x you will scroll to the bottom of the page for your role and make sure that the index you are needing is selected for "Indexes searched by default"

View solution in original post

ragedsparrow
Contributor

You will have to go into the role settings and make sure that the index you are wanting to search is within the default indexes for the role that you are under:

You can see/change this under Settings » Users and Authentication » Roles » < Your Role > » Default indexes

The menus are a little different between 7.x and 8.x.

In 8.x you will select your role and find the indexes tab. Then choose the index and make sure that "Default" is checked.
In 7.x you will scroll to the bottom of the page for your role and make sure that the index you are needing is selected for "Indexes searched by default"

lucas4394
Path Finder

Thank you. Finally! 😄

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...