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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...