Developing for Splunk Enterprise

Is there a way to compile a custom alert python script?

New Member

Hi, I wanna ask if there is a way to obfuscate/hide a python code that works on Splunk? Tried Cython and py_compile to no avail. Or am I just doing it wrong? Any help would be greatly appreciated. Thank you very much!

Labels (1)
0 Karma

SplunkTrust
SplunkTrust

@kingjeo2

Have tried this?

SPLUNK_HOME/bin/splunk cmd python <<PYTHON_FILE_PATH>>

0 Karma

New Member

Hi, what does that do exactly? Thanks.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!