Splunk Search

Sendemail Command

bnerella
Engager

I was trying to send a search result of mine in splunk to my email at work, but received this message. Please I need advice. Below was the error message that was displayed.Thanks

"command="sendemail", [Errno 10061] No connection could be made because the target machine actively refused it while sending mail to:alliswah@yahoo.com"

Tags (2)
0 Karma

MuS
Legend

Hi bnerella,

this means that the sendemail script was not able to use your mailserver. The sendemail script uses by default localhost as mailserver (set by argument server= ). This can have multiple reasons like firewall blocking or mail server refusing to accept your request or no email process/server running on localhost. Check with your network/mailserver admin.

hope this helps ...

cheers, MuS

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...