<?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 exclude some indexes from search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592814#M206347</link>
    <description>&lt;P&gt;Hi, I am encountering issue with 1 particular index. I am unable to use index!= to exclude the results from that particular index.&lt;/P&gt;
&lt;P&gt;For example, I have 3 indexes - endpoint, server, mobile. I run a index=* index!=server index!=mobile [search parameters].&lt;/P&gt;
&lt;P&gt;However, when the results came back, it is showing 2 indexes - endpoint and server.&lt;/P&gt;
&lt;P&gt;That means the index!=mobile works, but not the index!=server. And I did verify without the index!= command, I will see all 3 indexes.&lt;/P&gt;
&lt;P&gt;Of course this is a very simplified example with only 3 indexes but I am wondering, what could cause the index!=server not to work. In my current setup, all other indexes (I tested 10) work with index!= command but not that particular one.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2022 15:30:06 GMT</pubDate>
    <dc:creator>Thomas19</dc:creator>
    <dc:date>2022-04-07T15:30:06Z</dc:date>
    <item>
      <title>How to exclude some indexes from search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592814#M206347</link>
      <description>&lt;P&gt;Hi, I am encountering issue with 1 particular index. I am unable to use index!= to exclude the results from that particular index.&lt;/P&gt;
&lt;P&gt;For example, I have 3 indexes - endpoint, server, mobile. I run a index=* index!=server index!=mobile [search parameters].&lt;/P&gt;
&lt;P&gt;However, when the results came back, it is showing 2 indexes - endpoint and server.&lt;/P&gt;
&lt;P&gt;That means the index!=mobile works, but not the index!=server. And I did verify without the index!= command, I will see all 3 indexes.&lt;/P&gt;
&lt;P&gt;Of course this is a very simplified example with only 3 indexes but I am wondering, what could cause the index!=server not to work. In my current setup, all other indexes (I tested 10) work with index!= command but not that particular one.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 15:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592814#M206347</guid>
      <dc:creator>Thomas19</dc:creator>
      <dc:date>2022-04-07T15:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some indexes from search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592828#M206353</link>
      <description>&lt;P&gt;Is it possible that the string "server" is not the precise index name? &amp;nbsp;Try search index=server alone to see if you get anything back.&lt;/P&gt;&lt;P&gt;As a side, you do not to add index=* in search string. &amp;nbsp;Additionally, you can probably use "NOT index IN (endpoint, mobile)" to make code more compact.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 05:43:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592828#M206353</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-04-07T05:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some indexes from search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592833#M206355</link>
      <description>&lt;P&gt;Thanks. Ya, the server is the precise index. Running index=server only return a single index&lt;/P&gt;&lt;P&gt;I tested the NOT IN, removed the index=*, still the same result. That particular index keep showing up - it works for all other indexes except for that - tested with many different indexes. So I suspect something is different with that index, just that I couldn't figure out the root cause.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 06:07:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592833#M206355</guid>
      <dc:creator>Thomas19</dc:creator>
      <dc:date>2022-04-07T06:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude some indexes from search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592917#M206367</link>
      <description>&lt;P&gt;A second test could be index!=*server*.&lt;/P&gt;&lt;P&gt;As you tested, all the side notes do not contribute to the essentials:-)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 14:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-some-indexes-from-search/m-p/592917#M206367</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-04-07T14:18:31Z</dc:date>
    </item>
  </channel>
</rss>

