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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...