<?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 can I search for a missing field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9611#M212</link>
    <description>&lt;P&gt;it works thank you all , have a nice day&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2015 15:31:40 GMT</pubDate>
    <dc:creator>otman01</dc:creator>
    <dc:date>2015-03-12T15:31:40Z</dc:date>
    <item>
      <title>How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9599#M200</link>
      <description>&lt;P&gt;Let's say I have events A and B:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;A -- Feb 1 2010 10:10:00 field1=foo field2=bar
B -- Feb 1 2010 10:10:01 field1=foo
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I find all events where field2 is missing (essentially event B in this tiny example)?  &lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2010 10:22:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9599#M200</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-03T10:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9600#M201</link>
      <description>&lt;P&gt;Ok, so I tried a few things, and this is what ended up working:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;NOT field2=*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It would be more intuitive if this worked also:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;field2=""
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Feb 2010 10:23:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9600#M201</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-03T10:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9601#M202</link>
      <description>&lt;P&gt;field2="" means something very different. It means that field2 exists, but has an empty string value.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2010 12:49:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9601#M202</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-02-03T12:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9602#M203</link>
      <description>&lt;P&gt;Note that using&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;field2!=*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;will &lt;EM&gt;not&lt;/EM&gt; work either. This will never return any events, as it will always be false. This means that &lt;CODE&gt;field2!=*&lt;/CODE&gt; and &lt;CODE&gt;NOT field2=*&lt;/CODE&gt; are not entirely equivalent. In particular, in the case where &lt;CODE&gt;field2&lt;/CODE&gt; doesn't exist, the former is false, while the latter is true.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2010 12:58:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9602#M203</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-02-03T12:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9603#M204</link>
      <description>&lt;P&gt;It seems like they are logically equivalent, but Splunk does not treat them so.  Is that a fair statement?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2010 14:00:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9603#M204</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-03T14:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9604#M205</link>
      <description>&lt;P&gt;No they are not logically equivalent. There is a difference between being empty, and not existing.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2010 14:43:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9604#M205</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-02-03T14:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9605#M206</link>
      <description>&lt;P&gt;Well, I guess it depends what you mean by "logically equivalent", but there is a difference in meaning regardless of how Splunk treats them.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2010 14:45:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9605#M206</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-02-03T14:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9606#M207</link>
      <description>&lt;P&gt;You can do this on your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| where isnull(field2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Feb 2010 02:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9606#M207</guid>
      <dc:creator>dinh</dc:creator>
      <dc:date>2010-02-04T02:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9607#M208</link>
      <description>&lt;P&gt;yes, but in splunk land, would a field ever exist and be empty?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2010 02:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9607#M208</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-04T02:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9608#M209</link>
      <description>&lt;P&gt;It's a valid state of a field.&lt;BR /&gt;
You can get there with regex extractions.&lt;/P&gt;

&lt;P&gt;Do you mean that this is an undesirable thing?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2010 02:29:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9608#M209</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2010-02-04T02:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9609#M210</link>
      <description>&lt;P&gt;hey k8to, i'm just wondering if it can actually happen, and if splunk would behave consistently.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2010 13:12:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9609#M210</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-04T13:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9610#M211</link>
      <description>&lt;P&gt;Yes, it can happen.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2010 12:59:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9610#M211</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-31T12:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9611#M212</link>
      <description>&lt;P&gt;it works thank you all , have a nice day&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 15:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9611#M212</guid>
      <dc:creator>otman01</dc:creator>
      <dc:date>2015-03-12T15:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9612#M213</link>
      <description>&lt;P&gt;fillnull field2 | search field2=0&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 13:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9612#M213</guid>
      <dc:creator>support0</dc:creator>
      <dc:date>2015-09-01T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9613#M214</link>
      <description>&lt;P&gt;the first code works; the second code doesn't.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 10:18:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/9613#M214</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-06-12T10:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for a missing field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/705274#M238823</link>
      <description>&lt;P&gt;Thats the answer, thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 09:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-search-for-a-missing-field/m-p/705274#M238823</guid>
      <dc:creator>lmoceze</dc:creator>
      <dc:date>2024-11-26T09:16:18Z</dc:date>
    </item>
  </channel>
</rss>

