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!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...