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!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...