Getting Data In

ERROR sendemail:- [Errno 101] Network is unreachable while sending mail to:

drekham
New Member

Hi,

I Have sometimes the error Network is unreachable while sending mail to: on the log file: /opt/splunk/var/log/splunk/python.log when sending email with an automatic alert .

With the command : index=main | head 5 | sendemail to=email@server.com subject="Here is an email notification" message="This is an example message" sendresults=true inline=true format=raw s ==> No problem, I have always received the email.

So I don't understand why the email is sometimes send and sometimes not with the automatic alert!

Some informations:

  • Splunk version: 7.0.3
  • I use gmail SMTP to sending email (smtp.gmail.com:587)

Thank you in advance for your answer 🙂

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 ...