<?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 How do you set up Slack alerts with Linux Hostname Environment Variable placeholder in alert_actions.conf? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-do-you-set-up-Slack-alerts-with-Linux-Hostname-Environment/m-p/424021#M7401</link>
    <description>&lt;P&gt;I'm setting up Slack alerts and would like to deploy uniformly to our heavy forwarders. To do so, I'd have to add a placeholder to their alert_actions.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[slack]
disabled = 0
param.from_user = XXXXXXXXXXXXXXXXXXX #$HOSTNAME or $HOST
param.webhook_url = &lt;A href="https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" target="test_blank"&gt;https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I was wondering if something like the linux hostname variable can be used within this file like above.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Aug 2018 17:05:19 GMT</pubDate>
    <dc:creator>sogeniusio</dc:creator>
    <dc:date>2018-08-22T17:05:19Z</dc:date>
    <item>
      <title>How do you set up Slack alerts with Linux Hostname Environment Variable placeholder in alert_actions.conf?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-set-up-Slack-alerts-with-Linux-Hostname-Environment/m-p/424021#M7401</link>
      <description>&lt;P&gt;I'm setting up Slack alerts and would like to deploy uniformly to our heavy forwarders. To do so, I'd have to add a placeholder to their alert_actions.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[slack]
disabled = 0
param.from_user = XXXXXXXXXXXXXXXXXXX #$HOSTNAME or $HOST
param.webhook_url = &lt;A href="https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" target="test_blank"&gt;https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I was wondering if something like the linux hostname variable can be used within this file like above.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 17:05:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-set-up-Slack-alerts-with-Linux-Hostname-Environment/m-p/424021#M7401</guid>
      <dc:creator>sogeniusio</dc:creator>
      <dc:date>2018-08-22T17:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you set up Slack alerts with Linux Hostname Environment Variable placeholder in alert_actions.conf?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-set-up-Slack-alerts-with-Linux-Hostname-Environment/m-p/424022#M7402</link>
      <description>&lt;P&gt;Hi @sogeniusio,&lt;/P&gt;

&lt;P&gt;Sorry you haven't received any answers to your question. I'm sure help is on the way!&lt;/P&gt;

&lt;P&gt;But, in the mean time,If you want to try to get some immediate help for your question, you should join the 5000+ Splunk users in our public Slack Community chat. People ask each other for immediate help on there daily. You can share your question/link to your post there to see if anyone can take a stab at it.&lt;/P&gt;

&lt;P&gt;You first have to request access through &lt;A href="https://splk.it/slack"&gt;https://splk.it/slack&lt;/A&gt; Fill out the form, and once you receive the approval email from our Community Manager (usually the approval process may take a couple days), you can access Slack.com and ask for help in the #general channel.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 00:08:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-set-up-Slack-alerts-with-Linux-Hostname-Environment/m-p/424022#M7402</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-08-25T00:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do you set up Slack alerts with Linux Hostname Environment Variable placeholder in alert_actions.conf?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-you-set-up-Slack-alerts-with-Linux-Hostname-Environment/m-p/424023#M7403</link>
      <description>&lt;P&gt;I would use the Splunkbase app Slack Notification Alert &lt;A href="https://splunkbase.splunk.com/app/2878/#/overview"&gt;https://splunkbase.splunk.com/app/2878/#/overview&lt;/A&gt;. In the body of the alert you can use $result.host$&lt;BR /&gt;
to refer to the hostname.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 02:20:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-you-set-up-Slack-alerts-with-Linux-Hostname-Environment/m-p/424023#M7403</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2018-08-25T02:20:38Z</dc:date>
    </item>
  </channel>
</rss>

