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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...