<?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: sendresults in Splunk Alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406350#M11332</link>
    <description>&lt;P&gt;Save as alert without sendemail command that is.  Then add a trigger condition and make it send an email as the action.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 00:41:37 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2018-06-28T00:41:37Z</dc:date>
    <item>
      <title>sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406348#M11330</link>
      <description>&lt;P&gt;can we use sendresults command in a splunk alert ?&lt;/P&gt;

&lt;P&gt;for example,i am  creating an alert to trigger email via sendresults when a specific condition is triggered&lt;/P&gt;

&lt;P&gt;"my query"| eval email_to="&lt;A href="mailto:abc@123.com"&gt;abc@123.com&lt;/A&gt;" &lt;BR /&gt;
| sendresults showemail=f subject=" Password Changed alert" body="The password on your Network account has changed. If you did not initiate this change, please contact your system administrator."&lt;/P&gt;

&lt;P&gt;Note: the email is generated when i perform the search ,but it is not  working when used in the alert&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 23:55:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406348#M11330</guid>
      <dc:creator>rchakka</dc:creator>
      <dc:date>2018-06-27T23:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406349#M11331</link>
      <description>&lt;P&gt;For alerts we use sendalert.  It’s a little different.&lt;/P&gt;

&lt;P&gt;But if you just save the search as an alert, splunk will do that for you.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 00:40:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406349#M11331</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-06-28T00:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406350#M11332</link>
      <description>&lt;P&gt;Save as alert without sendemail command that is.  Then add a trigger condition and make it send an email as the action.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 00:41:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406350#M11332</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-06-28T00:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406351#M11333</link>
      <description>&lt;P&gt;thanks for the response.&lt;/P&gt;

&lt;P&gt;what if the email is variable field?&lt;/P&gt;

&lt;P&gt;for example &lt;BR /&gt;
"my query"| eval email_to=&lt;STRONG&gt;$test$&lt;/STRONG&gt; &lt;BR /&gt;
| sendresults showemail=f subject=" Password Changed alert" body="The password on your Network account has changed. If you did not initiate this change, please contact your system administrator."&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 10:27:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406351#M11333</guid>
      <dc:creator>rchakka</dc:creator>
      <dc:date>2018-06-28T10:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406352#M11334</link>
      <description>&lt;P&gt;See this article and change the version to your correct splunk version:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Alert/EmailNotificationTokens"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Alert/EmailNotificationTokens&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In 7.1.1 for example you’d use $result.fieldName$ in your email subject, to/cc/bcc, body,&lt;BR /&gt;
Etc&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 12:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406352#M11334</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-06-28T12:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406353#M11335</link>
      <description>&lt;P&gt;"my query"| eval email_to=$test$ &lt;BR /&gt;
| sendresults showemail=f subject=" Password Changed alert" body="The password on your Network account has changed. If you did not initiate this change, please contact your system administrator."&lt;/P&gt;

&lt;P&gt;I used  in the alert email field &lt;/P&gt;

&lt;P&gt;TO &lt;STRONG&gt;$result.test$&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;but still no luck with email. note: the query is working fine.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 13:24:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406353#M11335</guid>
      <dc:creator>rchakka</dc:creator>
      <dc:date>2018-06-29T13:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406354#M11336</link>
      <description>&lt;P&gt;Where is $test$ coming from?  Drop down menus or fields in the data?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 13:35:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406354#M11336</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-06-29T13:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406355#M11337</link>
      <description>&lt;P&gt;fields in the data from my search &lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 16:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406355#M11337</guid>
      <dc:creator>rchakka</dc:creator>
      <dc:date>2018-07-03T16:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406356#M11338</link>
      <description>&lt;P&gt;Identified an issue with realtime alerting .the alert is triggering first time only when we use variable field in send mail &lt;STRONG&gt;to&lt;/STRONG&gt; field. Anyone with similar issues? i am using splunk cloud? thank you all.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 13:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406356#M11338</guid>
      <dc:creator>rchakka</dc:creator>
      <dc:date>2018-07-18T13:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: sendresults in Splunk Alert</title>
      <link>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406357#M11339</link>
      <description>&lt;P&gt;Yes, but you have control over your saved search; you can set it to &lt;CODE&gt;Run as owner&lt;/CODE&gt; or &lt;CODE&gt;Run as user&lt;/CODE&gt;.  Obviously, the permissions vary user-to-user.  Make sure that it runs for you, then you have a choice to make: give everyone enough permissions so they can run it, too, or have it &lt;CODE&gt;Run as owner&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 14:37:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/sendresults-in-Splunk-Alert/m-p/406357#M11339</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-18T14:37:57Z</dc:date>
    </item>
  </channel>
</rss>

