<?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: Use of NOT operator in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Use-of-NOT-operator/m-p/60768#M180143</link>
    <description>&lt;P&gt;Awesome! That did it!&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2013 20:00:03 GMT</pubDate>
    <dc:creator>lbogle</dc:creator>
    <dc:date>2013-09-11T20:00:03Z</dc:date>
    <item>
      <title>Use of NOT operator</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-of-NOT-operator/m-p/60766#M180141</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;BR /&gt;
I'm trying to run a search against some logs that include a wild carded hostname, two error messages but exclude two IP addresses. I have the first parts down but excluding the IP addresses isn't quite working out. What am I doing wrong here? (IP's modified for the post)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="*-contlr-wl.Domain.COM" error OR fail* admin NOT (123.123.123.123 AND 456.456.456.456)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I'm getting all reports from contlr-wl machines.&lt;BR /&gt;
I'm getting all the messages that have either error OR fail* in them &lt;BR /&gt;
But the two IP addresses are still showing up. How do I exclude those from my search?&lt;BR /&gt;
Thanks everyone.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 19:29:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-of-NOT-operator/m-p/60766#M180141</guid>
      <dc:creator>lbogle</dc:creator>
      <dc:date>2013-09-11T19:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use of NOT operator</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-of-NOT-operator/m-p/60767#M180142</link>
      <description>&lt;P&gt;You are telling the search engine to only exclude the IPs if they both appear in the same event.&lt;/P&gt;

&lt;P&gt;Try&lt;/P&gt;

&lt;P&gt;NOT "*123.123.123.123*" NOT "*456.456.456.456*"&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 19:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-of-NOT-operator/m-p/60767#M180142</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-09-11T19:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use of NOT operator</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-of-NOT-operator/m-p/60768#M180143</link>
      <description>&lt;P&gt;Awesome! That did it!&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 20:00:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-of-NOT-operator/m-p/60768#M180143</guid>
      <dc:creator>lbogle</dc:creator>
      <dc:date>2013-09-11T20:00:03Z</dc:date>
    </item>
  </channel>
</rss>

