Splunk Search

Anonymize a Folder of Data

laurendonaghy
New Member

I am hoping to anonymize a set of data that is sorted into different folders. I found this command, and I was hoping there was a way to alter it to anonymize a folder instead of a file. It would be very time consuming to do each individual file separately.

./splunk anonymize file -source

Any thoughts would be much appreciated!

0 Karma

NK_1
Path Finder

Try:


find pathnameOfDataFolder -exec echo ./splunk anonymize file -source {} \;

Remove the word "echo" above when you are sure the output is what you want executed.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...