Reporting

Sendemail script execution failed and no python.log entry

cwilliamsonHFE
New Member

I am unable to get the sendemail command to send an email via either a saved search, or an on demand search. In the case of an on demand search (sample:)

index=dnsf "*error*"| stats count by host | sendemail to=firstlast@xxx.com server=xxx-smtp.xxx maxtime=2m

The job times out with message "Script execution failed for external search command 'sendemail'". In the case of saved searches, I can see in the jobs log that the job completed, but there is no evidence that an email was fired or even attempted.

From reading other postings here, I have attempted to examine the python.log for evidence of email behavior but a wildcard search of the python.log returns no results... thank you for any help that you can afford

Tags (1)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...