Getting Data In

PII In Splunk

IRHM73
Motivator

Hi, I wonder whether someone could help me please.

Firstly forgive me for what may a stupid question.

But could someone tell me, is it possible to remove all PII from Splunk Enterprise even if you don't know all the field names containing it. I suspect this would have to be done at indexing?

Many thanks and kind regards

Chris

0 Karma
1 Solution

FrankVl
Ultra Champion

In general of course it is impossible to remove things you don't know about. And yes, to remove it properly it would have to be done at indextime, for instance using SEDCMD in props.conf.

If you don't know the exact fields or position in the logs, but you do know the kind of patters you want to mask/remove (e.g. social security numbers / credit card numbers / ip addresses / email addresses), you can use SEDCMD to mask anything matching those patterns.

This page in the docs describes it in more detail: https://docs.splunk.com/Documentation/Splunk/latest/Data/Anonymizedata

View solution in original post

0 Karma

FrankVl
Ultra Champion

In general of course it is impossible to remove things you don't know about. And yes, to remove it properly it would have to be done at indextime, for instance using SEDCMD in props.conf.

If you don't know the exact fields or position in the logs, but you do know the kind of patters you want to mask/remove (e.g. social security numbers / credit card numbers / ip addresses / email addresses), you can use SEDCMD to mask anything matching those patterns.

This page in the docs describes it in more detail: https://docs.splunk.com/Documentation/Splunk/latest/Data/Anonymizedata

0 Karma

IRHM73
Motivator

Hi @FrankVl.

Thank you for taking the time to reply to my message and for the confirmation.

Kind Regards

Chris

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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

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 ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...