<?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: list out saved searches which are used index=* instated of using index fully qualified name in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315657#M175368</link>
    <description>&lt;P&gt;| rest /servicesNS/-/-/saved/searches | fields title search eai:acl.app eai:acl.owner | eval var1=if(match(search,"index=*"), "TUNE-ME", "OK") | where var1 = "TUNE-ME"&lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2017 15:12:52 GMT</pubDate>
    <dc:creator>SathyaNarayanan</dc:creator>
    <dc:date>2017-03-31T15:12:52Z</dc:date>
    <item>
      <title>How to list out saved searches which are used index=* instated of using index fully qualified name?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315654#M175365</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;we have hundreds of saved searches,but the problem is while creating savedsearches they were used index= *&lt;/P&gt;
&lt;P&gt;instead of using index fully qualified name.so i want to list out how many savedsearches has index=&lt;CODE&gt;*&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 21:26:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315654#M175365</guid>
      <dc:creator>john_q</dc:creator>
      <dc:date>2022-09-05T21:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: list out saved searches which are used index=* instated of using index fully qualified name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315655#M175366</link>
      <description>&lt;P&gt;Hi John_q&lt;BR /&gt;
Try and run this search:&lt;/P&gt;

&lt;P&gt;This is not perfect  but if you will click at the arrow next to the search field in the table, it will sort searches alphabetically&lt;BR /&gt;
 and will bring the &lt;CODE&gt;index=*&lt;/CODE&gt; searches to the top of the list&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/saved/searches
| table search eai:acl.owner title search
| search search="index=*"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 21:08:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315655#M175366</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-02-23T21:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: list out saved searches which are used index=* instated of using index fully qualified name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315656#M175367</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /servicesNS/-/-/saved/search splunk_server=local
| regex search=".*index\s*=\s*\*.+"
| table title eai:acl.owner eai:acl.app cron_schedule dispatch.*_time search 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Feb 2017 21:26:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315656#M175367</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-23T21:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: list out saved searches which are used index=* instated of using index fully qualified name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315657#M175368</link>
      <description>&lt;P&gt;| rest /servicesNS/-/-/saved/searches | fields title search eai:acl.app eai:acl.owner | eval var1=if(match(search,"index=*"), "TUNE-ME", "OK") | where var1 = "TUNE-ME"&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 15:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315657#M175368</guid>
      <dc:creator>SathyaNarayanan</dc:creator>
      <dc:date>2017-03-31T15:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: list out saved searches which are used index=* instated of using index fully qualified name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315658#M175369</link>
      <description>&lt;P&gt;upvote for "TUNE-ME", but remember to mark your code.  &lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 17:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315658#M175369</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-03-31T17:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: list out saved searches which are used index=* instated of using index fully qualified name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315659#M175370</link>
      <description>&lt;P&gt;@john_q - Looks like you have a few possible solutions to your question. If one of them provided a working solution, please don't forget to click "Accept" below the best answer to resolve this post. If you still need help, please leave a comment. Don’t forget to upvote anything that was helpful too. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 03:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/315659#M175370</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-04-21T03:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: list out saved searches which are used index=* instated of using index fully qualified name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/611968#M212773</link>
      <description>&lt;P&gt;You can also try&lt;/P&gt;&lt;P&gt;| regex search=.*index\s*=\s*_?\*\s&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 13:59:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-out-saved-searches-which-are-used-index-instated-of/m-p/611968#M212773</guid>
      <dc:creator>sylvia_gerges</dc:creator>
      <dc:date>2022-09-05T13:59:28Z</dc:date>
    </item>
  </channel>
</rss>

