<?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 Pass string/token to email alert text in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-string-token-to-email-alert-text/m-p/483186#M31678</link>
    <description>&lt;P&gt;I have a search&lt;BR /&gt;
"%UC_CALLMANAGER-6-DeviceUnregistered" "DeviceType=90" OR "DeviceType=73"&lt;/P&gt;

&lt;P&gt;Which correctly matches the below entry and I have an alert so send an email notification. I would like to pass a string from the syslog text (DeviceName=JK-Test) in the email message but can’t seem to get it pass. When I expand the syslog in search it says DeviceName is JK-Test. In my email message I have tried:&lt;/P&gt;

&lt;P&gt;email text:&lt;BR /&gt;
$Result.DeviceName$ test line 1&lt;BR /&gt;
"$event.DeviceName$" test line 2&lt;BR /&gt;
$DeviceName$ test line 3&lt;BR /&gt;
$result.devicename$ test line 4&lt;/P&gt;

&lt;P&gt;Is there a format to where I can pass that info?&lt;/P&gt;

&lt;P&gt;search result:&lt;BR /&gt;
Feb 25 16:17:26 myserver.local Feb 25 2020 22:17:26.527 UTC :  %UC_CALLMANAGER-6-DeviceUnregistered: %[DeviceName=JK-Test][IPAddress=1.1.1.1][Protocol=RouteList][DeviceType=90][Description=Test Hunt Group][Reason=8][IPAddrAttributes=0][AppID=Cisco CallManager][ClusterID=StandAloneCluster][NodeID=myserver]: Device unregistered&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 14:44:14 GMT</pubDate>
    <dc:creator>jdrohen</dc:creator>
    <dc:date>2020-02-26T14:44:14Z</dc:date>
    <item>
      <title>Pass string/token to email alert text</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-string-token-to-email-alert-text/m-p/483186#M31678</link>
      <description>&lt;P&gt;I have a search&lt;BR /&gt;
"%UC_CALLMANAGER-6-DeviceUnregistered" "DeviceType=90" OR "DeviceType=73"&lt;/P&gt;

&lt;P&gt;Which correctly matches the below entry and I have an alert so send an email notification. I would like to pass a string from the syslog text (DeviceName=JK-Test) in the email message but can’t seem to get it pass. When I expand the syslog in search it says DeviceName is JK-Test. In my email message I have tried:&lt;/P&gt;

&lt;P&gt;email text:&lt;BR /&gt;
$Result.DeviceName$ test line 1&lt;BR /&gt;
"$event.DeviceName$" test line 2&lt;BR /&gt;
$DeviceName$ test line 3&lt;BR /&gt;
$result.devicename$ test line 4&lt;/P&gt;

&lt;P&gt;Is there a format to where I can pass that info?&lt;/P&gt;

&lt;P&gt;search result:&lt;BR /&gt;
Feb 25 16:17:26 myserver.local Feb 25 2020 22:17:26.527 UTC :  %UC_CALLMANAGER-6-DeviceUnregistered: %[DeviceName=JK-Test][IPAddress=1.1.1.1][Protocol=RouteList][DeviceType=90][Description=Test Hunt Group][Reason=8][IPAddrAttributes=0][AppID=Cisco CallManager][ClusterID=StandAloneCluster][NodeID=myserver]: Device unregistered&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 14:44:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-string-token-to-email-alert-text/m-p/483186#M31678</guid>
      <dc:creator>jdrohen</dc:creator>
      <dc:date>2020-02-26T14:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pass string/token to email alert text</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-string-token-to-email-alert-text/m-p/483187#M31679</link>
      <description>&lt;P&gt;Take a look at &lt;A href="https://answers.splunk.com/answers/342128/why-does-resultfieldname-token-not-work-in-alert-e.html"&gt;https://answers.splunk.com/answers/342128/why-does-resultfieldname-token-not-work-in-alert-e.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 02:03:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-string-token-to-email-alert-text/m-p/483187#M31679</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2020-02-27T02:03:57Z</dc:date>
    </item>
  </channel>
</rss>

