<?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 to filter by &amp;quot;does not equal&amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99108#M20738</link>
    <description>&lt;P&gt;another example&lt;/P&gt;

&lt;P&gt;foo search ...  source=WinEventLog:Security | yadda yadda yadda&lt;/P&gt;

&lt;P&gt;or the opposite &lt;/P&gt;

&lt;P&gt;foo search ...  source!=WinEventLog:Security | yadda yadda yadda&lt;/P&gt;

&lt;P&gt;Its not easy to understand what people are saying when you are a newb as I am. &lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2015 21:45:00 GMT</pubDate>
    <dc:creator>Keysofsandiego</dc:creator>
    <dc:date>2015-03-05T21:45:00Z</dc:date>
    <item>
      <title>how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99101#M20731</link>
      <description>&lt;P&gt;I know how to filter for a specific event so, for example, I always run this:&lt;BR /&gt;
source=wineventlog:* earliest_time=-24h "Type=Success"&lt;BR /&gt;
But what I'd now like to do is the opposite: I'd like to eliminate all these "successes" so I can see all the rest.  Since I don't know what the rest are, I can't filter by them.  Can I do something like "type DOES NOT EQUAL Success"?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 14:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99101#M20731</guid>
      <dc:creator>Techfrogger</dc:creator>
      <dc:date>2012-10-23T14:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99102#M20732</link>
      <description>&lt;P&gt;It's as simple as "Type!=Success".&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 15:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99102#M20732</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-10-23T15:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99103#M20733</link>
      <description>&lt;P&gt;So why is that when I search on&lt;BR /&gt;
source=wineventlog:* earliest_time=-24h&lt;BR /&gt;
I get approximately 25,000 responses and when I search on&lt;BR /&gt;
source=wineventlog:* earliest_time=-24h "Type=Success"&lt;BR /&gt;
I get approximately 24,000&lt;BR /&gt;
But when I then search on &lt;BR /&gt;
source=wineventlog:* earliest_time=-24h "Type!=Success"&lt;BR /&gt;
I get zero responses?  I should get back approximately 1,000 responses.  What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:40:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99103#M20733</guid>
      <dc:creator>Techfrogger</dc:creator>
      <dc:date>2020-09-28T12:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99104#M20734</link>
      <description>&lt;P&gt;It's possible that the only events with a 'Type' field defined are those where Type=Success. If that's true, then the third search (with !=) would have no field 'Type' against which to evaluate = or even !=.&lt;/P&gt;

&lt;P&gt;Also consider absolute time frames, so that the time at which the search is executed isn't leading to different answers. Consider "yesterday" -&amp;gt; earliest=-1d@d latest=@d&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 16:20:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99104#M20734</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-10-23T16:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99105#M20735</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;your_search Type!=Success | the_rest_of_your_search
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;without the quotes, otherwise Splunk will literally be looking for the string "Type!=Success". Also you might want to do &lt;CODE&gt;NOT Type=Success&lt;/CODE&gt; instead. The reason for that is that &lt;CODE&gt;Type!=Success&lt;/CODE&gt; implies that the field "Type" exists, but is not equal to "Success". If the "Type" field doesn't exist at all, the filtering expression will not match.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 16:35:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99105#M20735</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-10-23T16:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99106#M20736</link>
      <description>&lt;P&gt;Don't be so humble. Converted it to an answer for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 19:23:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99106#M20736</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-10-23T19:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99107#M20737</link>
      <description>&lt;P&gt;"not equal " is just "!="&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 03:53:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99107#M20737</guid>
      <dc:creator>wangweibee</dc:creator>
      <dc:date>2014-12-10T03:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99108#M20738</link>
      <description>&lt;P&gt;another example&lt;/P&gt;

&lt;P&gt;foo search ...  source=WinEventLog:Security | yadda yadda yadda&lt;/P&gt;

&lt;P&gt;or the opposite &lt;/P&gt;

&lt;P&gt;foo search ...  source!=WinEventLog:Security | yadda yadda yadda&lt;/P&gt;

&lt;P&gt;Its not easy to understand what people are saying when you are a newb as I am. &lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 21:45:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/99108#M20738</guid>
      <dc:creator>Keysofsandiego</dc:creator>
      <dc:date>2015-03-05T21:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to filter by "does not equal"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/524665#M88563</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6332"&gt;@kristian_kolb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOL this comment made my day 8 years later&lt;/P&gt;&lt;P&gt;-Marco&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 15:18:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-filter-by-quot-does-not-equal-quot/m-p/524665#M88563</guid>
      <dc:creator>Marco</dc:creator>
      <dc:date>2020-10-14T15:18:32Z</dc:date>
    </item>
  </channel>
</rss>

