Splunk Search

two indexes

LoganRhamy
New Member

A power user cannot get results from index=* or index=foo OR index=bar when an admin can

Below is the authorize.conf changes

[role_user]
srchMaxTime = 8640000
srchDiskQuota = 250

[role_admin]
srchIndexesDefault = main
srchMaxTime = 8640000

[role_power]
cumulativeRTSrchJobsQuota = 400
cumulativeSrchJobsQuota = 200
srchFilter = *
srchMaxTime = 8640000

When the power user runs the query they are getting results from foo index but nothing from bar index. When the Power user run index=foo he gets results and when he runs index=bar he gets results.

When the admin user run the query they are getting results from both foo and bar indexes.

Let me know what I might be missing to get the fixed for our power users.

Best regards,
Logan Rhamy

Tags (2)
0 Karma

tiagofbmm
Influencer

Hey

The power user with a index=* will get its default indexes, which if you haven;t changed them, are only main. So if you are searching index=* and aren't getting results from one index, it means you may need to add bar index to srchIndexesAllowed for the role power_user.

0 Karma

LoganRhamy
New Member

Thank you for the quick answer. When Power user searches bar alone he gets results. I assume that would mean he has access to search that index. Let me know if I am mistaken.

0 Karma

tiagofbmm
Influencer

Yes it does mean he can get data from that index indeed. No errors occur in that search? Are you sure both searches time ranges are the same?

0 Karma

LoganRhamy
New Member

Yes it is a dashboard search that is just opened in search so we are 100% sure of the match query and time frame.

No errors occur besides the lack of results from one of the indexes

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...