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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...