<?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: Slack Alert Customization in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484569#M9014</link>
    <description>&lt;P&gt;Have you tried using curl from the server to post to slack?&lt;/P&gt;

&lt;P&gt;Maybe there is packet loss or very slow connection to slack.&lt;/P&gt;

&lt;P&gt;Or have you tried looking at the scheduler logs?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal sourcetype=scheduler
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Have you tried the job inspector to see if search.log has any errors when the alertS run?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2020 12:15:58 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2020-01-24T12:15:58Z</dc:date>
    <item>
      <title>Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484566#M9011</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;How do we pass link result of splunk alerts in slack from splunk?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 01:11:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484566#M9011</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-06-09T01:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484567#M9012</link>
      <description>&lt;P&gt;Use this app and it's instructions:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/2878/"&gt;https://splunkbase.splunk.com/app/2878/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 12:25:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484567#M9012</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-17T12:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484568#M9013</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have configured Slack and email for the same alert, however we are not getting the same number of alerts in slack, alert has been scheduled to run every 2 minutes. Email alerts are coming properly but not in Slack. What could be an issue?&lt;/P&gt;

&lt;P&gt;And there is also a delay in alerts that are coming on Slack. Quick help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 07:18:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484568#M9013</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-01-24T07:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484569#M9014</link>
      <description>&lt;P&gt;Have you tried using curl from the server to post to slack?&lt;/P&gt;

&lt;P&gt;Maybe there is packet loss or very slow connection to slack.&lt;/P&gt;

&lt;P&gt;Or have you tried looking at the scheduler logs?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal sourcetype=scheduler
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Have you tried the job inspector to see if search.log has any errors when the alertS run?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 12:15:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484569#M9014</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-24T12:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484570#M9015</link>
      <description>&lt;P&gt;@jkat54 &lt;/P&gt;

&lt;P&gt;We are getting alerts in slack but there is a delay in time, suppose I am scheculing an alert for 2 minutes for email and slack, in next 6 minutes I get 3 email alerts but only 2 slack alerts.&lt;/P&gt;

&lt;P&gt;And in splunkd.log I see this error message "Alert action script returned error code=255". What could be an issue?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 09:58:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484570#M9015</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-01-27T09:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484571#M9016</link>
      <description>&lt;P&gt;Sounds like connectivity issues between your search head(s) and slack rest endpoints.  &lt;/P&gt;

&lt;P&gt;Have you tried using curl from the server to post to slack?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 13:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484571#M9016</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-27T13:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484572#M9017</link>
      <description>&lt;P&gt;@jkat54 &lt;/P&gt;

&lt;P&gt;How do we do that?&lt;BR /&gt;
Which command to run and from where?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 18:15:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484572#M9017</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-01-27T18:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484573#M9018</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;curl -X POST -H 'Content-type: application/json' --data '{"text":"Allow me to reintroduce myself!"}' YOUR_WEBHOOK_URL
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jan 2020 20:54:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484573#M9018</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-27T20:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484574#M9019</link>
      <description>&lt;P&gt;@jkat54 &lt;/P&gt;

&lt;P&gt;How can we run this command from search head url from the search query?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 06:58:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484574#M9019</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-01-29T06:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484575#M9020</link>
      <description>&lt;P&gt;It's a Linux command you run from a command line shell.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 07:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484575#M9020</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-29T07:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484576#M9021</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/199197"&gt;@jkat54&lt;/a&gt; &lt;/P&gt;

&lt;P&gt;I tried different slack channel that is using the same webhook url for testing purpose and there also we observed the delay in receiving alerts.&lt;/P&gt;

&lt;P&gt;PFB error message that we see in the splunkd.log&lt;/P&gt;

&lt;P&gt;ERROR SearchScheduler - Error in 'sendalert' command: Alert script returned error code 255., search='sendalert slack_webhook_alert results_file="/opt/splunk/var/run/splunk/dispatch/scheduler_bXNpbmdoQGFybG8uY29t_c3BsdW5rX2FwcF9qZW5raW5z_&lt;EM&gt;RMD55de36a8bbf79c022_at_1580289000_23596_B2217163-89B0-464E-965F-D5D289E35131/results.csv.gz" results_link="********/app/splunk_app_jenkins/@go?sid=scheduler_bXNpbmdoQGFybG8uY29t_c3BsdW5rX2FwcF9qZW5raW5z&lt;/EM&gt;_RMD55de36a8bbf79c022_at_1580289000_23596_B2217163-89B0-464E-965F-D5D289E35131"'&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:56:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484576#M9021</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-09-30T03:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484577#M9022</link>
      <description>&lt;P&gt;Are you sure you are not hitting Slack's API rate limit?&lt;BR /&gt;
Limits are applied to workspaces, so if you have several integrations (in yours and other channels) you could find that slack is limiting the number of messages delivered.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://api.slack.com/docs/rate-limits"&gt;https://api.slack.com/docs/rate-limits&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 12:43:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484577#M9022</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-01-29T12:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484578#M9023</link>
      <description>&lt;P&gt;If you try the curl command... which is what slack says to do to test your webhook...:&lt;/P&gt;

&lt;P&gt;It will display any errors such as a rate limit &lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 12:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484578#M9023</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-29T12:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484579#M9024</link>
      <description>&lt;P&gt;@nickhillscpl &lt;/P&gt;

&lt;P&gt;How do we confirm whether rate limit is been applied to specific channel or not?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 08:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484579#M9024</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-01-30T08:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484580#M9025</link>
      <description>&lt;P&gt;By running the curl command....&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 11:07:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484580#M9025</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-30T11:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484581#M9026</link>
      <description>&lt;P&gt;How do we do that?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 08:05:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484581#M9026</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-02-13T08:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484582#M9027</link>
      <description>&lt;P&gt;I have shared the curl command above.  Here is the doc I got it from:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://api.slack.com/tutorials/slack-apps-hello-world"&gt;https://api.slack.com/tutorials/slack-apps-hello-world&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please work with your server admin team if you don't know how to do this.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 12:43:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484582#M9027</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-02-13T12:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484583#M9028</link>
      <description>&lt;P&gt;jkat54 ♦ manish_singh_777 · Jan 27 at 12:54 PM&lt;BR /&gt;
 curl -X POST -H 'Content-type: application/json' --data '{"text":"Allow me to reintroduce myself!"}' YOUR_WEBHOOK_URL&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484583#M9028</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-30T04:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484584#M9029</link>
      <description>&lt;P&gt;@jkat54 &lt;/P&gt;

&lt;P&gt;Before I go ahead and accept this answer, need to know few things.&lt;/P&gt;

&lt;P&gt;I am encountering the same issue again, alerts are coming to slack channel but there is a delay of 30 mins. For instance, if alert has been scheduled to run every 5 mins, In 30 mins I am getting only 2 alerts. Is it because of network issue?&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 09:10:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484584#M9029</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2020-05-19T09:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Slack Alert Customization</title>
      <link>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484585#M9030</link>
      <description>&lt;P&gt;Check   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=_internal sourcetype=scheduler "your saved search name"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See if there are any issues where the search is not returning expected results. &lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 12:47:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Slack-Alert-Customization/m-p/484585#M9030</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-05-19T12:47:16Z</dc:date>
    </item>
  </channel>
</rss>

