I'm having an issue running a python script to generate the contents of an email body to splunk.
I've had to install a Windows UF to a Windows 10 workstation as local admin.
I've deployed a python script that works when I manually run it on the Workstation.
Since Splunk UFs don't come with Python, I downloaded Python separately and added an environmental variable and path. I consistantly get the following messages:
Couldn't start command "Python3.exe "C:\Program Files\SplunkUniversalForwarder\bin\scripts\script1.py"": The system cannot find the file specified.
Couldn't start command "Python3.exe "C:\Program Files\SplunkUniversalForwarder\etc\apps\custom-app\bin\script2"": The system cannot find the file specified.
I've tried:
@woodcock do you have any suggestions? Anyone? Any suggestions?
Rather than jump through those (unsupported) hoops, why not replace the UF with a HF? It comes with Python.