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!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...