Splunk Search

Filter fields per role access?

yuwtennis
Communicator

Hi!

I would like to ask question whether its possible to filter certain fields per role.

For example,

If I have a data
field1,field2,field3
a,b,c

and have userA - roleA,

Is it possible to show just field1 for roleA ?

Thanks,
Yu

Tags (3)
0 Karma
1 Solution

jtrucks
Splunk Employee
Splunk Employee

You can restrict roles with specific search parameters, so you could try setting something using the fields command, but I suspect this is not possible with role access.

--
Jesse Trucks
Minister of Magic

View solution in original post

somesoni2
Revered Legend

Any restriction you apply at role level will affect all the searches that the user performs. E.g. if you add "| fields field1" in the Restrict search terms for the role but then it will get appended to all the search that user performs.

0 Karma

jtrucks
Splunk Employee
Splunk Employee

You can restrict roles with specific search parameters, so you could try setting something using the fields command, but I suspect this is not possible with role access.

--
Jesse Trucks
Minister of Magic

yuwtennis
Communicator

Hello jtrucks.

Your right its not possible by role access.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...