Security

PCI and PAN

tjbacchus
New Member

Team

I just was able to create a search in Splunk to detect Credit Card numbers. PCI was also onboarded into our new Splunk Cloud instance. How can we obscure these numbers once found and verified to be in fact an exposed user credit card number?

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You can obfuscate fields with the SEDCMD directive if you know which fields hold the PCI and PAN. Ideally, PCI and PAN should not be in logs which are stored in logs - you should go back to your application developers to remove these before they even reach Splunk.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Additionally, you cannot modify already indexed events. So there is no way to "mask the PCI and PAN once they're found".

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...