Security

Is user-based data masking possible for one-index .

isha_rastogi
Path Finder

I have different users who will be accessing a index. Problem is I want User "A" to access the original data but for User "B" data would be masked for same index. I tried to create the Python script to mask the information but how to invoke the script on user-session.

0 Karma

renjith_nair
Legend

User role is assigned on index level and hence all or none will be affected. There are two ways you can try

  1. Forward data simultaneously to another index with and mask it (License meter counts)
  2. Run a search to populate a summary index from the original one after masking and give the user access to only summary index (no extra license needed)
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

isha_rastogi
Path Finder

What if user wants to see raw events with masked data? I believe summary indexing will be able to produce report or search for fields which are creating summary index.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...