Splunk Search

What indexes are included in search by default?

dswanson99
Path Finder

Hi,

I was in the process of changing the index that certain events write to and came across a problem with a query I was using to verify the results.

This input source appears in 3 different indices right now (os, main and access).

If I search for that appears in all of them WITHOUT an index qualifier I get data from 2 of the 3 indices. If I add index=* to the search then it finds all three indices.

How is splunk deciding what indices to include (or exclude) by default?

Thanks

Tags (2)
1 Solution

ziegfried
Influencer

You'll see events from those indexes without explicitly specifying one or more indexes in the search, that are selected as default indexes for your role(s). You can see/change this under Manager » Access controls » Roles » Some Role » Default indexes

View solution in original post

ziegfried
Influencer

You'll see events from those indexes without explicitly specifying one or more indexes in the search, that are selected as default indexes for your role(s). You can see/change this under Manager » Access controls » Roles » Some Role » Default indexes

dswanson99
Path Finder

Great thanks, I checked the index for any settings but didn't think of the role.

0 Karma

kimberlytrayson
Path Finder

I can't see the Manager option in my splunk. We are using splunk 6.6. My splunk looks like: https://imgur.com/VxuOzxH . I don't see the Manager-> Access controls ->...

0 Karma

FrankVl
Ultra Champion

Should be under "Settings" -> "Access Controls". I guess that changed somewhere in the last ~8 years 😛

0 Karma

kimberlytrayson
Path Finder

Thanks @FrankVI. My Settings doesn't have Access Control in it. Please see: https://imgur.com/a/LW6YhvV. Settings has:

Searches, reports, and alerts
Data models
Event types
Tags
Fields
Lookups
User interface
Advanced search
All configurations

0 Karma

janispelss
Path Finder

By default, only the admins of your Splunk instance can see the link to Access controls page, because it deals with things like user account settings, user roles and authentication.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...