<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sendemail script execution failed and no python.log entry in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Sendemail-script-execution-failed-and-no-python-log-entry/m-p/410261#M10929</link>
    <description>&lt;P&gt;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:)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dnsf "*error*"| stats count by host | sendemail to=firstlast@xxx.com server=xxx-smtp.xxx maxtime=2m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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. &lt;/P&gt;

&lt;P&gt;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&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 17:32:38 GMT</pubDate>
    <dc:creator>cwilliamsonHFE</dc:creator>
    <dc:date>2018-06-26T17:32:38Z</dc:date>
    <item>
      <title>Sendemail script execution failed and no python.log entry</title>
      <link>https://community.splunk.com/t5/Reporting/Sendemail-script-execution-failed-and-no-python-log-entry/m-p/410261#M10929</link>
      <description>&lt;P&gt;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:)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dnsf "*error*"| stats count by host | sendemail to=firstlast@xxx.com server=xxx-smtp.xxx maxtime=2m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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. &lt;/P&gt;

&lt;P&gt;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&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 17:32:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Sendemail-script-execution-failed-and-no-python-log-entry/m-p/410261#M10929</guid>
      <dc:creator>cwilliamsonHFE</dc:creator>
      <dc:date>2018-06-26T17:32:38Z</dc:date>
    </item>
  </channel>
</rss>

