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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...