Splunk Dev

Can I create an eval function using a python script?

zchandikaz
New Member

I know how to mask data at indexing time using EVAL and SEDCMD.
But there are more logics I need to consider.

Can I mask data using python script at indexing time or is there any method like that or can I create an eval function using a python script?

Labels (1)
0 Karma

livehybrid
Builder

Using Splunk Enterprise you wouldnt be able to do this if you're ingesting through the typical mechanisms. 

The only thing that I can think of that would allow you to do this is using Splunk Data Stream Processor (DSP) - which allows you to create custom functions to apply to data streams and could be used for encryption/masking etc.

https://docs.splunk.com/Documentation/DSP/1.1.0/User/PluginSDK

 

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, ...