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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...