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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...