<?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 write a search that will list all the saved reports in my splunk environment? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/629610#M218724</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This is definitely an old post, but can anyone share how they have created a search to accurately list whether a saved search is either a report or an alert.&lt;/P&gt;&lt;P&gt;This list exists under the menu item Searches, Reports &amp;amp; Alerts as the column Type lists whether it's a report or an alert, but the code underneath doesn't seem to be viewable like selecting a panel in a dashboard will show the underlying SPL.&lt;/P&gt;&lt;P&gt;Also that report from Searches, Reports &amp;amp; Alerts which shows the Type doesn't seem to be exportable.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Feb 2023 14:23:38 GMT</pubDate>
    <dc:creator>dwraesner</dc:creator>
    <dc:date>2023-02-04T14:23:38Z</dc:date>
    <item>
      <title>How can I write a search that will list all the saved reports in my splunk environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/164503#M46711</link>
      <description>&lt;P&gt;I need to write search queries to list all the dashboards and reports saved in my splunk environment. I was able to list the dashboards by using&lt;/P&gt;

&lt;P&gt;| rest /servicesNS/-/-/data/ui/views | search isDashboard=1 | search eai:acl.app=search |&lt;/P&gt;

&lt;P&gt;but I am unable to write a query for the latter. &lt;/P&gt;

&lt;P&gt;i thought          | rest /servicesNS/-/-/data/ui/views |           would at least list all the reports (among other views) and i would be able to filter the rest out. Unfortunately, this isn't even listing all the reports available to me. &lt;/P&gt;

&lt;P&gt;I am a new user and any help is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 14:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/164503#M46711</guid>
      <dc:creator>saikatr</dc:creator>
      <dc:date>2015-03-05T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a search that will list all the saved reports in my splunk environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/164504#M46712</link>
      <description>&lt;P&gt;Hi saikatr,&lt;/P&gt;

&lt;P&gt;how about using this REST endpoint:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/saved/searches
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 14:37:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/164504#M46712</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-03-05T14:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a search that will list all the saved reports in my splunk environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/164505#M46713</link>
      <description>&lt;P&gt;Thanks MuS,&lt;/P&gt;

&lt;P&gt;This clearly sets me on the right path, This gave me a nice mix of reports and alerts:&lt;/P&gt;

&lt;P&gt;| rest /services/saved/searches/ | search is_visible=1 | fields title is_scheduled is_visible eai:acl.perms.write eai:acl.sharing&lt;/P&gt;

&lt;P&gt;Would you by any chance be able to test this query and inform what might be the critical step to be able to list the reports and alerts separately?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:05:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/164505#M46713</guid>
      <dc:creator>saikatr</dc:creator>
      <dc:date>2020-09-28T19:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a search that will list all the saved reports in my splunk environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/570631#M198861</link>
      <description>&lt;P&gt;Did you ever get this resolved?&lt;/P&gt;&lt;P&gt;I see this is an old comment but am trying to accomplish the same thing now as well (list reports and alerts in separate dashboard panels).&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 15:16:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/570631#M198861</guid>
      <dc:creator>astackpole</dc:creator>
      <dc:date>2021-10-12T15:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a search that will list all the saved reports in my splunk environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/629610#M218724</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This is definitely an old post, but can anyone share how they have created a search to accurately list whether a saved search is either a report or an alert.&lt;/P&gt;&lt;P&gt;This list exists under the menu item Searches, Reports &amp;amp; Alerts as the column Type lists whether it's a report or an alert, but the code underneath doesn't seem to be viewable like selecting a panel in a dashboard will show the underlying SPL.&lt;/P&gt;&lt;P&gt;Also that report from Searches, Reports &amp;amp; Alerts which shows the Type doesn't seem to be exportable.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 14:23:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/629610#M218724</guid>
      <dc:creator>dwraesner</dc:creator>
      <dc:date>2023-02-04T14:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I write a search that will list all the saved reports in my splunk environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/629611#M218725</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;here is my old answer&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Monitoring-Splunk/How-do-I-export-all-alerts-to-csv-or-pdf/m-p/629226#M9319" target="_blank"&gt;https://community.splunk.com/t5/Monitoring-Splunk/How-do-I-export-all-alerts-to-csv-or-pdf/m-p/629226#M9319&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 15:32:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-write-a-search-that-will-list-all-the-saved-reports-in/m-p/629611#M218725</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-02-04T15:32:40Z</dc:date>
    </item>
  </channel>
</rss>

