<?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: inputlookup excluding index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-excluding-index/m-p/537419#M151926</link>
    <description>&lt;P&gt;Thank you!&amp;nbsp; It is working.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 13:45:44 GMT</pubDate>
    <dc:creator>jmo1</dc:creator>
    <dc:date>2021-01-27T13:45:44Z</dc:date>
    <item>
      <title>inputlookup excluding index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-excluding-index/m-p/537297#M151873</link>
      <description>&lt;P&gt;&amp;nbsp;I am trying to write a query that will ignore events in certain indexes (these indexes change over time).&amp;nbsp; I have a CSV file with a single column that looks like this...&lt;/P&gt;&lt;P&gt;Index&lt;/P&gt;&lt;P&gt;a&lt;/P&gt;&lt;P&gt;b&lt;/P&gt;&lt;P&gt;c&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;NOTE: this is a simple example, it really has 25+ indexes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;host=* NOT index=[| inputlookup Index.csv | fields Index]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is my non-working attempt.&amp;nbsp; The actual query is irrelevant (host=*), the point is that I want to ignore any hits where the index is in the CSV file (index!=a index!=b index!=c).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 20:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-excluding-index/m-p/537297#M151873</guid>
      <dc:creator>jmo1</dc:creator>
      <dc:date>2021-01-26T20:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: inputlookup excluding index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-excluding-index/m-p/537315#M151883</link>
      <description>&lt;P&gt;You don't need the index=... and case is important, so use this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;host=* NOT [ | inputlookup indexes.csv | rename Index as index ]&lt;/LI-CODE&gt;&lt;P&gt;Note the rename, as your column is Index, not index, so either change the column name in the table and just use | table index or go with the above&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 21:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-excluding-index/m-p/537315#M151883</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-01-26T21:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: inputlookup excluding index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-excluding-index/m-p/537419#M151926</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; It is working.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 13:45:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-excluding-index/m-p/537419#M151926</guid>
      <dc:creator>jmo1</dc:creator>
      <dc:date>2021-01-27T13:45:44Z</dc:date>
    </item>
  </channel>
</rss>

