Splunk Search

Restricting users from search

pradeepkumarg
Influencer

We have a situation where we need to restrict users to be able to search during a specific period of time. Removing search=enabled for a particular role in authorize.conf is not working. Is there a way we can achieve this for a role?

0 Karma

ayme
Splunk Employee
Splunk Employee

Associated with the User Role, you could add a "Restrict search terms" filter.

If for a very specific period in time you could add, for example:

(_time>1417805142.703 AND _time<1417805242.703)

Or if you want to prevent people searching data between 18h00 and 19h00 you could add the filter:

date_hour!=18
0 Karma

somesoni2
Revered Legend

You want user to able to log in but not able to perform search on specific period like 6:00 PM to 6:00 AM?

0 Karma

pradeepkumarg
Influencer

@somesoni2 Right but the timings are not fixed, it's when we know that there is going to be a users storm logging in and issuing searches to solve a very high severity issue happening in the organization, it's at that point of time we want to restrict searching only for a critical team/role to save Splunk system resources from taking a toss..

0 Karma

sdaniels
Splunk Employee
Splunk Employee

I don't believe there is a way to restrict user search access based on time. You could certainly remove the indexes that are searchable from a role to avoid users searching on specific/all data during a specific period. That would require a restart of Splunk of course.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...