<?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 Why am I getting strange results with the fillnull command when I input a lookup table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-strange-results-with-the-fillnull-command-when/m-p/276389#M83377</link>
    <description>&lt;P&gt;I have a search that looks like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;multisearch [search a] [search b] | table field1, field2, field3 | fillnull value="N/A" | outputlookup lookup_table | tscollect namespace="Foo"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I input the lookup table, a whole bunch of fields still have null values.  If I look at the same data using &lt;CODE&gt;tstats&lt;/CODE&gt;, those fields have the "N/A" like they are supposed to.&lt;/P&gt;

&lt;P&gt;Can anyone explain why this is happening?&lt;/P&gt;

&lt;P&gt;Thx.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 20:33:23 GMT</pubDate>
    <dc:creator>responsys_cm</dc:creator>
    <dc:date>2016-09-13T20:33:23Z</dc:date>
    <item>
      <title>Why am I getting strange results with the fillnull command when I input a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-strange-results-with-the-fillnull-command-when/m-p/276389#M83377</link>
      <description>&lt;P&gt;I have a search that looks like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;multisearch [search a] [search b] | table field1, field2, field3 | fillnull value="N/A" | outputlookup lookup_table | tscollect namespace="Foo"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I input the lookup table, a whole bunch of fields still have null values.  If I look at the same data using &lt;CODE&gt;tstats&lt;/CODE&gt;, those fields have the "N/A" like they are supposed to.&lt;/P&gt;

&lt;P&gt;Can anyone explain why this is happening?&lt;/P&gt;

&lt;P&gt;Thx.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 20:33:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-strange-results-with-the-fillnull-command-when/m-p/276389#M83377</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2016-09-13T20:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting strange results with the fillnull command when I input a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-strange-results-with-the-fillnull-command-when/m-p/276390#M83378</link>
      <description>&lt;P&gt;I had a problem like your and I solved using eval&lt;BR /&gt;
try this&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;eval myfield=if(isnull(myfield),"N/A",myfield)&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Bye&lt;/P&gt;

&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 07:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-strange-results-with-the-fillnull-command-when/m-p/276390#M83378</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-09-16T07:21:35Z</dc:date>
    </item>
  </channel>
</rss>

