<?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 can I search for alerts that send emails to specific users in Splunk 6.6? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367087#M108281</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/saved/searches | search action.email.to="&amp;lt;email address&amp;gt;" | table title action.email.to
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 06 Feb 2018 19:21:27 GMT</pubDate>
    <dc:creator>micahkemp</dc:creator>
    <dc:date>2018-02-06T19:21:27Z</dc:date>
    <item>
      <title>How can I search for alerts that send emails to specific users in Splunk 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367086#M108280</link>
      <description>&lt;P&gt;Our setup has a quite a few alerts and we need to find all of the alerts that send email to a specific user. So far other than going through the alerts individually, I have not been able to find a way to search the alerts in this manner. &lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:14:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367086#M108280</guid>
      <dc:creator>adexteracc</dc:creator>
      <dc:date>2018-02-06T19:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for alerts that send emails to specific users in Splunk 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367087#M108281</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/saved/searches | search action.email.to="&amp;lt;email address&amp;gt;" | table title action.email.to
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:21:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367087#M108281</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-02-06T19:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for alerts that send emails to specific users in Splunk 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367088#M108282</link>
      <description>&lt;P&gt;Doesn't look like that does the trick. I ran with the email address we were looking for and and a couple of others but was unable to get an results returned. Also ran the search with an asterisk for the email.to and found that the search didn't appear to return an email at all. Thank you for the suggestion.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 20:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367088#M108282</guid>
      <dc:creator>adexteracc</dc:creator>
      <dc:date>2018-02-06T20:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for alerts that send emails to specific users in Splunk 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367089#M108283</link>
      <description>&lt;P&gt;Do you see any results for just &lt;CODE&gt;| rest /services/saved/searches&lt;/CODE&gt;?  And are you running the search on the splunk instance that has the alerts configured?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 20:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367089#M108283</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-02-06T20:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for alerts that send emails to specific users in Splunk 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367090#M108284</link>
      <description>&lt;P&gt;This worked dandy for me.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 19:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367090#M108284</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2019-02-13T19:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for alerts that send emails to specific users in Splunk 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367091#M108285</link>
      <description>&lt;P&gt;Try this also. &lt;/P&gt;

&lt;P&gt;| rest /services/saved/searches | search action.email=1 action.email.to=&lt;EM&gt;&lt;A href="mailto:targetemail@targetdomain.com"&gt;targetemail@targetdomain.com&lt;/A&gt;&lt;/EM&gt; | table title action.email.to&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 13:08:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/367091#M108285</guid>
      <dc:creator>jaxjohnny2000</dc:creator>
      <dc:date>2019-04-04T13:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for alerts that send emails to specific users in Splunk 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/511397#M143316</link>
      <description>&lt;P&gt;I think the above answers are correct but this cleans things up and gives more info. As this is 2020, you the below search is not bound by Splunk 6.x or 7.x- it should work universally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;| rest /services/saved/searches&lt;/DIV&gt;&lt;DIV&gt;| search action.email.to=* action.email=1&lt;/DIV&gt;&lt;DIV&gt;| rename eai:acl.app as Application, title as "Alert Name", triggered_alert_count as "Times Triggered Conditions Met", splunk_server as Host, action.email.to as "Sent To"&lt;/DIV&gt;&lt;DIV&gt;| table Application, "Alert Name", "Times Triggered Conditions Met", Host, "Sent To"&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 18:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/511397#M143316</guid>
      <dc:creator>putnamblake</dc:creator>
      <dc:date>2020-07-28T18:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for alerts that send emails to specific users in Splunk 6.6?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/511408#M143320</link>
      <description>&lt;P&gt;You must remember that there are also fields:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;action.email.cc&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;action.email.bcc&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Which you cannot get by REST.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And of course those can be a email aliases/mailing lists on mail server(s).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One way which show to you&amp;nbsp;where splunk has sent alerts is query those from internal logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=_internal source=*python.log sendemail "Sending email"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;r. Ismo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 19:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-alerts-that-send-emails-to-specific-users/m-p/511408#M143320</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-28T19:57:20Z</dc:date>
    </item>
  </channel>
</rss>

