<?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: display lookup file data even if count is zero in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58414#M14292</link>
    <description>&lt;P&gt;Before your chart command, append the lookup file like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | append [inputlookup &amp;lt;your lookup here&amp;gt;] | chart ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then reduce the count by one for each service name to account for the extra events appended.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2013 16:11:40 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-03-12T16:11:40Z</dc:date>
    <item>
      <title>display lookup file data even if count is zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58413#M14291</link>
      <description>&lt;P&gt;I have uploaded CSV file contains service names, the query which ever I am runing is not displaying the services names, if count is zero.&lt;BR /&gt;
Ex : csv file contain row name Service_name and values service1, service2, service3, service4 ... service 50&lt;BR /&gt;
I have added the row name in extract fields as service_name,&lt;BR /&gt;
If I use the command ".. | chart count by service_name", it is not displying the values equal to 0 however I am getting the results for other services which ever is not zero.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:29:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58413#M14291</guid>
      <dc:creator>marellasunil</dc:creator>
      <dc:date>2020-09-28T13:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: display lookup file data even if count is zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58414#M14292</link>
      <description>&lt;P&gt;Before your chart command, append the lookup file like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | append [inputlookup &amp;lt;your lookup here&amp;gt;] | chart ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then reduce the count by one for each service name to account for the extra events appended.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2013 16:11:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58414#M14292</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-12T16:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: display lookup file data even if count is zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58415#M14293</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Small modification, I have to do. I have to calculate status as well.&lt;BR /&gt;
... | append [inputlookup service.csv] | chart count over service_name by status&lt;BR /&gt;
I am getting a coulmn NULL if I run the query and alsi in XML also counting as NULL.&lt;BR /&gt;
Can you please suggest what can I do for this.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 13:01:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58415#M14293</guid>
      <dc:creator>marellasunil</dc:creator>
      <dc:date>2013-03-13T13:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: display lookup file data even if count is zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58416#M14294</link>
      <description>&lt;P&gt;Used field - NULL..&lt;BR /&gt;
XML used inputlookup &lt;DEF name=""&gt;..&lt;BR /&gt;
worked there too...&lt;BR /&gt;
It worked fine. Thanks Martin....&lt;BR /&gt;
:-)&lt;/DEF&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 11:40:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/display-lookup-file-data-even-if-count-is-zero/m-p/58416#M14294</guid>
      <dc:creator>marellasunil</dc:creator>
      <dc:date>2013-03-14T11:40:07Z</dc:date>
    </item>
  </channel>
</rss>

