<?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 Splunk Alerts: How to use email address from variable? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Splunk-Alerts-How-to-use-email-address-from-variable/m-p/633020#M14846</link>
    <description>&lt;P&gt;We have data set up like this:&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; email:JohnSmith@Company.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Count:100&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; email:DavidHarris@Company.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Count:50&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; email:ChuckNorris@Company.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Count:90&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;I want to set up an alert where a specific person will be emailed if their alert is &amp;gt; 80, but I want to use the email field. So I want Chuck to get an email and John to get a separate email. David does not get an alert because the count did not break the threshold.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In the alert setup, can I put $email$ in the "To: " part of the send email action??&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 16:54:28 GMT</pubDate>
    <dc:creator>3666142</dc:creator>
    <dc:date>2023-03-02T16:54:28Z</dc:date>
    <item>
      <title>Splunk Alerts: How to use email address from variable?</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-Alerts-How-to-use-email-address-from-variable/m-p/633020#M14846</link>
      <description>&lt;P&gt;We have data set up like this:&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; email:JohnSmith@Company.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Count:100&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; email:DavidHarris@Company.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Count:50&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; email:ChuckNorris@Company.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Count:90&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;I want to set up an alert where a specific person will be emailed if their alert is &amp;gt; 80, but I want to use the email field. So I want Chuck to get an email and John to get a separate email. David does not get an alert because the count did not break the threshold.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In the alert setup, can I put $email$ in the "To: " part of the send email action??&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 16:54:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-Alerts-How-to-use-email-address-from-variable/m-p/633020#M14846</guid>
      <dc:creator>3666142</dc:creator>
      <dc:date>2023-03-02T16:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Alerts: Use email address from variable</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-Alerts-How-to-use-email-address-from-variable/m-p/633027#M14847</link>
      <description>&lt;P&gt;You can use fields from the first line of the results in the alert, e.g. $result.email$ assuming your search includes the email field. Then if you trigger the alert for each result (rather than just once), each result will execute the action with its corresponding row from the events.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 15:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-Alerts-How-to-use-email-address-from-variable/m-p/633027#M14847</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-03-02T15:21:35Z</dc:date>
    </item>
  </channel>
</rss>

