Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Splunk SPLK-1003 Exam - Topic 5 Question 134 Discussion

Posted by Buck on Sep 27, 2026 at 07:53 AM

A user is assigned two roles with the following search filters. What is the user's applied search filter?

Suggested Answer: A

When a user is assignedmultiple rolesin Splunk and each has a defined srchFilter, Splunk combines these filters using alogical ANDoperation. This ensures that the user can only search within the intersection of constraints imposed by each role.

From Splunk Docs:

'If a user has multiple roles assigned and multiple roles specify srchFilter, Splunk softwareANDs the filters together.'

--- Source: Splunk Documentation -- authorize.conf

Let's break it down:

role_A specifies: sourcetype!=json AND index=main

role_B specifies: sourcetype=csv

To evaluate the effective search filter for the user, Splunk willANDthe two conditions:

(sourcetype=csv) AND (sourcetype!=json AND index=main)

This means the user's search is limited to events where:

sourcetype=csv (from role_B)

sourcetype!=json AND index=main (from role_A)

Combining them together logically:

srchFilter = ((sourcetype=csv) AND (sourcetype!=json AND index=main))

This is exactly what is shown inOption A.


authorize.conf - Splunk Admin Manual

Get Premium SPLK-1003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
4 comments · newest first
CE
Celeste 38 minutes ago
I feel like I might have mixed up the options in my last practice test. I hope I remember the right logic here!
JO
Johnathon 5 days ago
I think the applied filter should be the most restrictive one, but I can't recall if that's always the case.
TA
Taryn 10 days ago
This question feels familiar; I think we practiced a similar one where the roles had overlapping filters.
CH
Charlene 16 days ago
I remember something about how search filters combine, but I'm not sure if it's AND or OR in this case.
0/2000 characters

Save Cancel