Hi, I tried
temperature sourcetype=kaa | rex field=_raw "\"endpointKeyHash\":{\"string\":\"(? [^\"])\".\"Event\": (? {.*})}$"| spath input=mydata | table _time, endpoint, temperature | eval threshold = 50 | where temperature > threshold | sendemail to="abc@mail.com" sendresults=true
but python.log still show the same msg
2017-06-20 23:07:05,436 +0800
ERROR sendemail:137 - Sending email.
subject="Splunk Alert: Temperature
Threshold Exceeded!",
results_link="http://HS:8000/app/search/search?q=%7Cloadjob%20rt_scheduler__admin__search__RMD565cc5b97a7fcf839_at_1497971133_358.2%20%7C%20head%201%20%7C%20tail%201&earliest=0&latest=now",
recipients="[u'abc@mail.com']",
server="localhost" 2017-06-20
23:07:05,437 +0800 ERROR sendemail:443
- [Errno 10061] No connection could be made because the target machine
actively refused it while sending mail
to: abc@mail.com
May I know how do I verify that the email exchange is setup/configured properly on Splunk Server?
... View more