I am using Splunk 6.1.2 version, I have a requirement to add custom messages to the sendemail.py script like adding a logo etc. I have modified the script and kept in the script in my app directory "MYAPP/bin/local_sendemail.py" . local_sendemail.py is the script edited by me.
point here is this seems to be not working in Splunk 6.1.2 version . I have included the following in commands.conf as well as below.
// commands.conf settings
filename = localsendemail.py
streaming = false
runinpreview = false
passauth = true
changescolorder = false
supportsrawargs = true
I have used the same earlier in Splunk 4.3.2 and it's working. Now modified the existing latest script in Splunk 6 and its not working.
Is commands.conf deprecated in Splunk 6.x , or is there is something i need to do to make the script work?
earlier question w.r.t splunk 4.3.2 posted by me
Present script in splunk 6.1.2 is not even throwing any error. Can someone help me on this?
commands.conf is not deprecated. To see what's going wrong you should check your custom script's log.
You can find the log of your custom script wherever your custom script logs to.