<?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: Adding Alert Trigger Condition (token) to Email in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241909#M15014</link>
    <description>&lt;P&gt;While setting up the alert from the UI, you've option to include trigger condition with the email. &lt;/P&gt;

&lt;P&gt;See the first image on the this link &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Alert/Emailnotification#Configure_email_notification_for_alerts"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Alert/Emailnotification#Configure_email_notification_for_alerts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1122i259618230327A348/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2016 19:54:27 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-03-15T19:54:27Z</dc:date>
    <item>
      <title>Adding Alert Trigger Condition (token) to Email</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241908#M15013</link>
      <description>&lt;P&gt;Hello all, is there a token usable in the Email alert body that indicates the Trigger Condition?&lt;BR /&gt;
I'm using a "Custom" trigger condition and would like to include it in the email to normalize expectations of the alert threshold.&lt;/P&gt;

&lt;P&gt;From the documentation page (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Alert/Emailnotification"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.2/Alert/Emailnotification&lt;/A&gt;), I see both &lt;CODE&gt;$trigger_date&lt;/CODE&gt; and &lt;CODE&gt;$trigger_time$&lt;/CODE&gt; but no &lt;CODE&gt;$trigger_condition$&lt;/CODE&gt; or similar. Is there an undocumented token for this?&lt;/P&gt;

&lt;P&gt;I could try to re-write the search string to include the condition but that's not exactly desirable for a few different reasons. Anyway, this seems like an obvious token that should be in place already.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 00:45:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241908#M15013</guid>
      <dc:creator>RMartinezDTV</dc:creator>
      <dc:date>2016-03-15T00:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Alert Trigger Condition (token) to Email</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241909#M15014</link>
      <description>&lt;P&gt;While setting up the alert from the UI, you've option to include trigger condition with the email. &lt;/P&gt;

&lt;P&gt;See the first image on the this link &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Alert/Emailnotification#Configure_email_notification_for_alerts"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Alert/Emailnotification#Configure_email_notification_for_alerts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1122i259618230327A348/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 19:54:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241909#M15014</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-03-15T19:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Alert Trigger Condition (token) to Email</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241910#M15015</link>
      <description>&lt;P&gt;Yes I see that but its placement cannot be controlled. I want to include it in the main body text like in the middle of a sentence. The problem is sending to lower tier groups and those who may not be familiar with Splunk as they wouldn't understand "count &amp;gt; 350" for example. I can give them the Search String too but that's beyond their comprehension level.&lt;/P&gt;

&lt;P&gt;To be honest, if Splunk provides it in the UI then I'd be surprised that it wasn't also an undocumented token. Splunk tends to "eat their own dog food" when designing UI feature.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 21:14:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241910#M15015</guid>
      <dc:creator>RMartinezDTV</dc:creator>
      <dc:date>2016-03-15T21:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Alert Trigger Condition (token) to Email</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241911#M15016</link>
      <description>&lt;P&gt;I have the same issue when trying to write a custom alert action. I can't seem to find the token for trigger condition if it even exists. It is supplied to a standard alert actin script as a positional parameter so it must be available somewhere. &lt;/P&gt;

&lt;P&gt;Did you have any luck in finding a token name for trigger condition?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 19:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Alert-Trigger-Condition-token-to-Email/m-p/241911#M15016</guid>
      <dc:creator>isfleming</dc:creator>
      <dc:date>2016-04-05T19:59:17Z</dc:date>
    </item>
  </channel>
</rss>

