<?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 How to get the list of Alerts and Report? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636587#M15876</link>
    <description>&lt;P&gt;i have many alerts and reports which configured with particular email id(splunkdata@gmail.com)&lt;BR /&gt;Now i want to change the email id to (splunklogs@gmail.com)&lt;BR /&gt;How do i&amp;nbsp; get the list of alerts and reports configured with this&amp;nbsp;email id(splunkdata@gmail.com)&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 07:39:27 GMT</pubDate>
    <dc:creator>mahesh27</dc:creator>
    <dc:date>2023-03-30T07:39:27Z</dc:date>
    <item>
      <title>How to get the list of Alerts and Report?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636587#M15876</link>
      <description>&lt;P&gt;i have many alerts and reports which configured with particular email id(splunkdata@gmail.com)&lt;BR /&gt;Now i want to change the email id to (splunklogs@gmail.com)&lt;BR /&gt;How do i&amp;nbsp; get the list of alerts and reports configured with this&amp;nbsp;email id(splunkdata@gmail.com)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 07:39:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636587#M15876</guid>
      <dc:creator>mahesh27</dc:creator>
      <dc:date>2023-03-30T07:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the list of Alerts and Report</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636590#M15877</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249143"&gt;@mahesh27&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try this query&lt;/P&gt;&lt;PRE&gt;| rest splunk_server=local /servicesNS/-/-/saved/searches &lt;BR /&gt;| where (disabled=0 AND is_scheduled=1) ``` 0: false, 1: true ```&lt;BR /&gt;AND (&lt;BR /&gt;match('action.email.to', "(?i)splunkdata@gmail.com")&lt;BR /&gt;OR match('action.email.cc', "(?i)splunkdata@gmail.com")&lt;BR /&gt;OR match('action.email.bcc',"(?i)splunkdata@gmail.com")&lt;BR /&gt;))&lt;BR /&gt;| rename eai:acl.app AS app alert_type AS type action.email.to AS email.to action.email.cc AS email.cc action.email.bcc AS email.bcc eai:acl.sharing AS permissions&lt;/PRE&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 21:38:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636590#M15877</guid>
      <dc:creator>yeahnah</dc:creator>
      <dc:date>2023-03-29T21:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the list of Alerts and Report</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636591#M15878</link>
      <description>&lt;P&gt;There are a couple of ways to look at this.&lt;BR /&gt;Do you have access to the OS and if so, which OS (linux or Windows)&lt;BR /&gt;&lt;BR /&gt;In linux you could change to the splunk install dir (usually /opt/splunk), change to etc and run&lt;BR /&gt;find . -name savedsearches.conf -exec grep -H -E "\[|&lt;A href="mailto:splunkdata@gmail.com&amp;quot;" target="_blank"&gt;splunkdata@gmail.com"&lt;/A&gt;&amp;nbsp;{} \;&lt;BR /&gt;&lt;BR /&gt;This should give the list of files and search names that have the email address configured for it.&lt;BR /&gt;Depending on how many alerts, you could look into using sed to modify each value.&lt;/P&gt;&lt;P&gt;You would need to restart Splunk afterwards.&lt;BR /&gt;&lt;BR /&gt;I am not so familiar with Windows but I am sure a similar "find" function could be done in powershell.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 21:43:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636591#M15878</guid>
      <dc:creator>michael_bates_1</dc:creator>
      <dc:date>2023-03-29T21:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the list of Alerts and Report</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636592#M15879</link>
      <description>&lt;P&gt;Use the rest api&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /servicesNS/-/-/saved/searches
| where 'action.email.to'="splunkdata@gmail.com" AND 'action.email'=1
| rename eai:acl.* as *
| table title app owner sharing disabled&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which will look for all saved searches with an action set to email with the address set as specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 21:48:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-get-the-list-of-Alerts-and-Report/m-p/636592#M15879</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-29T21:48:18Z</dc:date>
    </item>
  </channel>
</rss>

