<?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: SendEmail command to send to different emails in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401242#M173743</link>
    <description>&lt;P&gt;Making some progress with this however I need assistance with sending one email per record, rather than one email for all the records?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wm_xsp_cad host=vxxx0u8997 "inactive team" index=wm_xsp_cad host=vxxx30u8997 "Inactive team"|table TeamEmail, ECI, CADesc | eval valueForToHeader=TeamEmail | sendemail 
  sendresults=true inline=true
  to= ????
   Subject=\"$CADesc\$\" 
    From="james@jL.com"

    Subject="hello"
    server= localhost
    graceful=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 09 Jan 2019 20:11:16 GMT</pubDate>
    <dc:creator>nols76</dc:creator>
    <dc:date>2019-01-09T20:11:16Z</dc:date>
    <item>
      <title>SendEmail command to send to different emails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401241#M173742</link>
      <description>&lt;P&gt;Hello all.  New to splunk.  How can I perform a SendEmail for each log that comes in, which will have a different email address for each? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=wm_xsp_cad host=vxxx0u8997 "inactive team" index=wm_xsp_cad host=vxxx30u8997 "Inactive team"|table TeamEmail, ECI, CADesc | eval valueForToHeader=TeamEmail | sendemail 
   sendresults=true inline=true
   to= ????
    Subject=\"$CADesc\$\" 
     From="james@jL.com"

     Subject="hello"
     server= localhost
     graceful=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Jan 2019 17:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401241#M173742</guid>
      <dc:creator>nols76</dc:creator>
      <dc:date>2019-01-09T17:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: SendEmail command to send to different emails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401242#M173743</link>
      <description>&lt;P&gt;Making some progress with this however I need assistance with sending one email per record, rather than one email for all the records?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wm_xsp_cad host=vxxx0u8997 "inactive team" index=wm_xsp_cad host=vxxx30u8997 "Inactive team"|table TeamEmail, ECI, CADesc | eval valueForToHeader=TeamEmail | sendemail 
  sendresults=true inline=true
  to= ????
   Subject=\"$CADesc\$\" 
    From="james@jL.com"

    Subject="hello"
    server= localhost
    graceful=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Jan 2019 20:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401242#M173743</guid>
      <dc:creator>nols76</dc:creator>
      <dc:date>2019-01-09T20:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: SendEmail command to send to different emails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401243#M173744</link>
      <description>&lt;P&gt;Take a look at the Sendresults search command: &lt;A href="https://splunkbase.splunk.com/app/1794/"&gt;https://splunkbase.splunk.com/app/1794/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 22:18:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401243#M173744</guid>
      <dc:creator>Yorokobi</dc:creator>
      <dc:date>2019-01-09T22:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: SendEmail command to send to different emails</title>
      <link>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401244#M173745</link>
      <description>&lt;P&gt;Thank you, this is helpful&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:11:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/SendEmail-command-to-send-to-different-emails/m-p/401244#M173745</guid>
      <dc:creator>nols76</dc:creator>
      <dc:date>2019-01-17T14:11:31Z</dc:date>
    </item>
  </channel>
</rss>

