<?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 show null or empty feilds produced by a lookup table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176970#M50853</link>
    <description>&lt;P&gt;... | lookup food2upc.csv itemName | stats list(upcCode) by itemName | fillnull value=blank |where upcCode=blank&lt;/P&gt;</description>
    <pubDate>Mon, 16 Mar 2015 08:23:59 GMT</pubDate>
    <dc:creator>stephane_cyrill</dc:creator>
    <dc:date>2015-03-16T08:23:59Z</dc:date>
    <item>
      <title>How to show null or empty feilds produced by a lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176967#M50850</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;

&lt;P&gt;I'm doing a lookup table (on some data that would take too much time to explain without more confusion), invoked by a stats command. &lt;BR /&gt;
For simplicity sake let's say it is food items. I would have a lookup table for every item in the store, but only want to see that which has no UPC associated. SO I would run:&lt;BR /&gt;
... | lookup food2upc.csv itemName | stats list(upcCode) by itemName&lt;/P&gt;

&lt;P&gt;I would get a list of all the items, and would see a blank/whitespace for the cells/value where there is no UPC in the database. This query works fine.&lt;BR /&gt;
I want to further filter the list to only show the items with no UPC, filtering out the ones that do. I've tried many combinations of where,search and can't get any results. Among searches I've tried:&lt;BR /&gt;
... | lookup food2upc.csv itemName | stats list(upcCode) by itemName | fillnull=blank |where upcCode=blank&lt;BR /&gt;&lt;BR /&gt;
---still nothing comes up in the search. Can someone assist?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 21:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176967#M50850</guid>
      <dc:creator>jravida</dc:creator>
      <dc:date>2015-03-13T21:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to show null or empty feilds produced by a lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176968#M50851</link>
      <description>&lt;P&gt;I'm not sure what else you have you tried, but maybe put pipe to fillnull before your stats.  Also in your example, isn't the field called list(upcCode) not upcCode after your stats?  Meaning, the upcCode field in the where clause doesn't exist anymore at that point?  &lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 23:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176968#M50851</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2015-03-13T23:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to show null or empty feilds produced by a lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176969#M50852</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;
I can see that you have misuse your fillnull. try to use  &lt;/P&gt;

&lt;P&gt;fillnull value=blank &lt;/P&gt;

&lt;P&gt;isntead of&lt;/P&gt;

&lt;P&gt;fillnull=blank&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:22:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176969#M50852</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2015-03-16T08:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to show null or empty feilds produced by a lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176970#M50853</link>
      <description>&lt;P&gt;... | lookup food2upc.csv itemName | stats list(upcCode) by itemName | fillnull value=blank |where upcCode=blank&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:23:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-null-or-empty-feilds-produced-by-a-lookup-table/m-p/176970#M50853</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2015-03-16T08:23:59Z</dc:date>
    </item>
  </channel>
</rss>

