<?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 to forward a msg to email/slack trigger alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507501#M9265</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223326"&gt;@danan&lt;/a&gt;, in your screen shot (between host and sourcetype), it extracts "Test" as a value in msg. You shall try adding quotes around the message to treat them as a single field , e.g. "Test message generated ....".&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jul 2020 09:00:47 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2020-07-06T09:00:47Z</dc:date>
    <item>
      <title>how to forward a msg to email/slack trigger alert</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507406#M9259</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to add msg value to slack and email trigger alert but I'm getting the first word of msg field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to get the full message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's the search results:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danan_1-1593947051179.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9474i33CB7DBD59440DC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danan_1-1593947051179.png" alt="danan_1-1593947051179.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here's the slack trigger: I used $results.msg$&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danan_2-1593947120233.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9475i4DA3C7CAF7759D04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danan_2-1593947120233.png" alt="danan_2-1593947120233.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this is what I get:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danan_3-1593947200521.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9476i31493B5C21558AE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danan_3-1593947200521.png" alt="danan_3-1593947200521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now, I want to get the full message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead of "Test", I want to forward the full message from msg field: "&lt;SPAN class="t"&gt;&lt;SPAN class="t a"&gt;Test&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="t"&gt;message&lt;/SPAN&gt; &lt;SPAN class="t"&gt;generated&lt;/SPAN&gt; &lt;SPAN class="t"&gt;successfully"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;could you please assist?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 05 Jul 2020 11:09:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507406#M9259</guid>
      <dc:creator>danan</dc:creator>
      <dc:date>2020-07-05T11:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to forward a msg to email/slack trigger alert</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507441#M9262</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223326"&gt;@danan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;It doesn't seem to take the msg field but the literal "msg" from your token.&lt;/P&gt;&lt;P&gt;Use &lt;FONT color="#339966"&gt;$result.&lt;I&gt;msg&lt;/I&gt;$&lt;/FONT&gt; instead of &lt;FONT color="#FF9900"&gt;$results.&lt;I&gt;msg&lt;/I&gt;$ &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please be reminded that the filed values are limited to first value for the specified field name from the first search result row. Also make sure that the field is available(fields a,b,c,) in the result set especially if its an extracted field&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 01:56:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507441#M9262</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-07-06T01:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to forward a msg to email/slack trigger alert</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507494#M9264</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/136781"&gt;@renjith_nair&lt;/a&gt;&amp;nbsp;, &amp;nbsp;I've changed to $result.msg$ but still, it presents only the first word.&lt;/P&gt;&lt;P&gt;maybe there are other ways to get the full message instead of the first word?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 08:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507494#M9264</guid>
      <dc:creator>danan</dc:creator>
      <dc:date>2020-07-06T08:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to forward a msg to email/slack trigger alert</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507501#M9265</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223326"&gt;@danan&lt;/a&gt;, in your screen shot (between host and sourcetype), it extracts "Test" as a value in msg. You shall try adding quotes around the message to treat them as a single field , e.g. "Test message generated ....".&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 09:00:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507501#M9265</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-07-06T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to forward a msg to email/slack trigger alert</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507510#M9266</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/136781"&gt;@renjith_nair&lt;/a&gt;&amp;nbsp;, Thanks! how do i do this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 09:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507510#M9266</guid>
      <dc:creator>danan</dc:creator>
      <dc:date>2020-07-06T09:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to forward a msg to email/slack trigger alert</title>
      <link>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507515#M9267</link>
      <description>&lt;P&gt;It's easy if you could change in the data inputs/ingest time. Just add quotes around the value before its pushed to Splunk.&lt;/P&gt;&lt;P&gt;For those events which are already available in Splunk, you may extract it from _raw&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|rex "msg=(?&amp;lt;message&amp;gt;.+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 10:01:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/how-to-forward-a-msg-to-email-slack-trigger-alert/m-p/507515#M9267</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-07-06T10:01:00Z</dc:date>
    </item>
  </channel>
</rss>

