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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...