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!

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

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...