Getting Data In

Encrypt data during anonymization

hmozaffari
Path Finder

Referring to instruction of anonymization in page bellow:

http://docs.splunk.com/Documentation/Splunk/latest/Data/Anonymizedatausingconfigurationfiles

During indexing, instead of replacing a field value with literals, I would like to apply a function on it (for example encrypt it)

[session-anonymizer]
REGEX = (?m)^(.*)SessionId=\w+(\w{4}[&"].*)$
FORMAT = $1SessionId=########$2
DEST_KEY = _raw

For example instead of replacing SessionId=3A1785URH117BEA with SessionId=######## , I would like to replace it with a runtime value result of applying a function (like encryption function ).

This way I'll have a mechanism to get the original values if needed.

Has anybody come up with a solution for that.
Thanks

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...