<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I enable Splunk email alerts from a Linux server? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352661#M6240</link>
    <description>&lt;P&gt;Do you have 2 factor authentication on your account?&lt;BR /&gt;
If so you will need to generate and use an app-specific-password.&lt;/P&gt;

&lt;P&gt;Did you look at the google link specified in the error:&lt;BR /&gt;
&lt;A href="https://support.google.com/mail/answer/78754"&gt;https://support.google.com/mail/answer/78754&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2017 11:11:06 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2017-12-21T11:11:06Z</dc:date>
    <item>
      <title>How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352648#M6227</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I have a problem. I've got Splunk Enterprise installed on Google Cloud Platform on Linux Server and I want to to enable email alerts, but I'm not sure about configuration with SMTP on server. Should I install postfix on a server and provide mail hostname in splunk email settings ? Could anyone help, I would be grateful. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 21:02:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352648#M6227</guid>
      <dc:creator>swdowiarz</dc:creator>
      <dc:date>2017-12-18T21:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352649#M6228</link>
      <description>&lt;P&gt;Splunk requires a working SMTP server. You can install one on the server, and if your only sending alerts to internal addresses, it should be relativly easy to get your mailserver (or provider) to accept from your Splunk host.&lt;/P&gt;

&lt;P&gt;Alternatively, you can configure Splunk to use any SMTP server for which you have credentials - this is probably the better solution, as it will use whatever email system you presently have deployed - and probably less complicated in the long run.&lt;/P&gt;

&lt;P&gt;Settings-&amp;gt;Server Settings-&amp;gt; Email Settings&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 22:31:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352649#M6228</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-18T22:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352650#M6229</link>
      <description>&lt;P&gt;Could you please provide me with more information, I've tried to setup SMTP, as well as I've tried to send email by my email account but in both options it failed. As I know Gooogle Cloud Platfrom is blocking port 25.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 08:22:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352650#M6229</guid>
      <dc:creator>swdowiarz</dc:creator>
      <dc:date>2017-12-19T08:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352651#M6230</link>
      <description>&lt;P&gt;Without the Splunk server being able to reach &lt;EM&gt;something&lt;/EM&gt; on an SMTP port (TCP25 or TCP587 for TLS), your not going to be able to send any emails.&lt;/P&gt;

&lt;P&gt;Have you tried configuring your Splunk server to use the TLS port - If you were using a google/office365 mailserver, Port 25 is normally blocked, but 587 should be fine. As a more general rule, you should always avoid using the insecure ports in favour of the TLS ones.&lt;/P&gt;

&lt;P&gt;What mailserver are you configuring, and what settings are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 08:47:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352651#M6230</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-19T08:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352652#M6231</link>
      <description>&lt;P&gt;I've tried to install postfix, as well I was trying to setup splunk to send emails form my gmail account but in both it wasn't working&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 13:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352652#M6231</guid>
      <dc:creator>swdowiarz</dc:creator>
      <dc:date>2017-12-19T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352653#M6232</link>
      <description>&lt;P&gt;what settings did you use for gmail?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 13:33:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352653#M6232</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-19T13:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352654#M6233</link>
      <description>&lt;P&gt;How did you get on with this?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 09:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352654#M6233</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-21T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352655#M6234</link>
      <description>&lt;P&gt;I did it with this tutorial.&lt;BR /&gt;
&lt;A href="https://www.splunk.com/blog/2014/06/27/splunk-alerts-using-gmail-twitter-phone-calls-and-much-more.html"&gt;https://www.splunk.com/blog/2014/06/27/splunk-alerts-using-gmail-twitter-phone-calls-and-much-more.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352655#M6234</guid>
      <dc:creator>swdowiarz</dc:creator>
      <dc:date>2017-12-21T10:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352656#M6235</link>
      <description>&lt;P&gt;It still does not work for me &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:38:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352656#M6235</guid>
      <dc:creator>swdowiarz</dc:creator>
      <dc:date>2017-12-21T10:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352657#M6236</link>
      <description>&lt;P&gt;Ok, do you see any errors reported if you run this search?&lt;BR /&gt;
&lt;CODE&gt;index=_internal sendemail&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352657#M6236</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-21T10:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352658#M6237</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;12/19/17
8:44:45.363 AM  
12-19-2017 08:44:45.363 +0000 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python /opt/splunk/etc/apps/search/bin/sendemail.py "results_link=http://instance-1:8000/app/search/search?q=%7Cloadjob%20rt_scheduler__admin__search__RMD56cc4d0568864b62f_at_1513672997_1.0%20%7C%20head%201%20%7C%20tail%201&amp;amp;earliest=0&amp;amp;latest=now" "ssname=test alarm" "graceful=True" "trigger_time=1513673084" results_file="/opt/splunk/var/run/splunk/dispatch/rt_scheduler__admin__search__RMD56cc4d0568864b62f_at_1513672997_1.0/per_result_alert/tmp_0.csv.gz"':  ERROR:root:(534, '5.7.14 &amp;lt;https://accounts.google.com/signin/continue?sarp=1&amp;amp;scc=1&amp;amp;plt=AKgnsbvj\n5.7.14 unt3KzFW2DTyz38Sa7SAeySG3Fce0oBpKF0ZfxoisShnmuuZh82ZJEUSbPjqc8dgkWbBcm\n5.7.14 O9OZgjETmRbRvG_jOg4VJtEmFxU1eQgvf2PtSY3GkrU4qK2rl02nGXhTIv2HDdGL0Sx5kz\n5.7.14 3ic761i-XujuqbkGyoWW6emxCvBoMXp8KJQOWlb-tlBv2nOIsIdfiWXt7sscPAwE-g4bIa\n5.7.14 Hvcjr8EisSC7TGuYLeprxiRs56d14&amp;gt; Please log in via your web browser and\n5.7.14 then try again.\n5.7.14  Learn more at\n5.7.14  &lt;A href="https://support.google.com/mail/answer/78754" target="test_blank"&gt;https://support.google.com/mail/answer/78754&lt;/A&gt; g69sm872707ita.9 - gsmtp') while sending mail to: swdowiarz@groupon.com
host =  instance-1 source = /opt/splunk/var/log/splunk/splunkd.log

12/19/17
8:44:45.362 AM  
2017-12-19 08:44:45,362 +0000 ERROR sendemail:460 - (534, '5.7.14 &amp;lt;https://accounts.google.com/signin/continue?sarp=1&amp;amp;scc=1&amp;amp;plt=AKgnsbvj\n5.7.14 unt3KzFW2DTyz38Sa7SAeySG3Fce0oBpKF0ZfxoisShnmuuZh82ZJEUSbPjqc8dgkWbBcm\n5.7.14 O9OZgjETmRbRvG_jOg4VJtEmFxU1eQgvf2PtSY3GkrU4qK2rl02nGXhTIv2HDdGL0Sx5kz\n5.7.14 3ic761i-XujuqbkGyoWW6emxCvBoMXp8KJQOWlb-tlBv2nOIsIdfiWXt7sscPAwE-g4bIa\n5.7.14 Hvcjr8EisSC7TGuYLeprxiRs56d14&amp;gt; Please log in via your web browser and\n5.7.14 then try again.\n5.7.14  Learn more at\n5.7.14  &lt;A href="https://support.google.com/mail/answer/78754" target="test_blank"&gt;https://support.google.com/mail/answer/78754&lt;/A&gt; g69sm872707ita.9 - gsmtp') while sending mail to: swdowiarz@groupon.com
host =  instance-1 source = /opt/splunk/var/log/splunk/python.log

12/19/17
8:44:45.361 AM  
2017-12-19 08:44:45,361 +0000 ERROR sendemail:137 - Sending email. subject="Splunk Alert: test alarm", results_link="http://instance-1:8000/app/search/search?q=%7Cloadjob%20rt_scheduler__admin__search__RMD56cc4d0568864b62f_at_1513672997_1.0%20%7C%20head%201%20%7C%20tail%201&amp;amp;earliest=0&amp;amp;latest=now", recipients="[u'swdowiarz@groupon.com']", server="smtp.gmail.com:465"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Dec 2017 11:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352658#M6237</guid>
      <dc:creator>swdowiarz</dc:creator>
      <dc:date>2017-12-21T11:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352659#M6238</link>
      <description>&lt;P&gt;those are last errors  @nickhillscpl &lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 11:08:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352659#M6238</guid>
      <dc:creator>swdowiarz</dc:creator>
      <dc:date>2017-12-21T11:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352660#M6239</link>
      <description>&lt;P&gt;Hello swdowiarz,&lt;/P&gt;

&lt;P&gt;which port are you using to join the mail host ? Can you please try to run the following from the splunk host to be sure that you can reach that host  :&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;telnet mailHosName portNumber&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If  that is working please provide an extract from your internal logs for the sendmail command after having used the following command : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yourquerryhere| sendemail to="elvis@splunk.com" sendresults=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Docs here: &lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.3/SearchReference/Sendemail"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.6.3/SearchReference/Sendemail&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 11:09:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352660#M6239</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2017-12-21T11:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable Splunk email alerts from a Linux server?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352661#M6240</link>
      <description>&lt;P&gt;Do you have 2 factor authentication on your account?&lt;BR /&gt;
If so you will need to generate and use an app-specific-password.&lt;/P&gt;

&lt;P&gt;Did you look at the google link specified in the error:&lt;BR /&gt;
&lt;A href="https://support.google.com/mail/answer/78754"&gt;https://support.google.com/mail/answer/78754&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 11:11:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-enable-Splunk-email-alerts-from-a-Linux-server/m-p/352661#M6240</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-21T11:11:06Z</dc:date>
    </item>
  </channel>
</rss>

