Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Possible to override "sendemail"?

$
0
0

I tried to create a customized version of sendemail.py and named it "sendemail2.py" As I know normally we should be able to override a search command by a copy of commands.conf in $SPLUNK_HOME/etc/system/local/commands.conf or $SPLUNK_HOME/etc/system/local/commands.conf.

However, I've tried both locations still see Splunk looking for sendemail.py in default location $SPLUNK_HOME/etc/apps/search/bin/sendemail.py

Is there any workable way to create own version of sendemail without changing the original copy?

[sendemail] filename = sendemail2.py streaming = false run_in_preview = false passauth = true required_fields = changes_colorder = false supports_rawargs = true


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>