<?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 Seprating null and empty fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Seprating-null-and-empty-fields/m-p/110787#M28976</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have multiple cases with my date:&lt;BR /&gt;
some have empty src value: e.g,&lt;BR /&gt;
id=abc src= lr=2&lt;BR /&gt;
some does not have src at all: e.g.,&lt;BR /&gt;
id=cde lr=5&lt;BR /&gt;
and the rest have src with values: e.g.,&lt;BR /&gt;
id=rty src=df lr=5&lt;/P&gt;

&lt;P&gt;The question is how can I separate these three cases? I tried isnull(src) but it does not work.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2013 03:37:56 GMT</pubDate>
    <dc:creator>gimbil</dc:creator>
    <dc:date>2013-10-23T03:37:56Z</dc:date>
    <item>
      <title>Seprating null and empty fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Seprating-null-and-empty-fields/m-p/110787#M28976</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have multiple cases with my date:&lt;BR /&gt;
some have empty src value: e.g,&lt;BR /&gt;
id=abc src= lr=2&lt;BR /&gt;
some does not have src at all: e.g.,&lt;BR /&gt;
id=cde lr=5&lt;BR /&gt;
and the rest have src with values: e.g.,&lt;BR /&gt;
id=rty src=df lr=5&lt;/P&gt;

&lt;P&gt;The question is how can I separate these three cases? I tried isnull(src) but it does not work.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 03:37:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Seprating-null-and-empty-fields/m-p/110787#M28976</guid>
      <dc:creator>gimbil</dc:creator>
      <dc:date>2013-10-23T03:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Seprating null and empty fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Seprating-null-and-empty-fields/m-p/110788#M28977</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search | fillnull value=null | stats count by id, src, lr
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;fillnull will fill empty values even when the field does not exist.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 04:25:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Seprating-null-and-empty-fields/m-p/110788#M28977</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-10-23T04:25:04Z</dc:date>
    </item>
  </channel>
</rss>

