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!

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 ...