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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...