<?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 Fulfill empty table entries in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Fulfill-empty-table-entries/m-p/18069#M2587</link>
    <description>&lt;P&gt;Is there a way I can fulfill empty tables.&lt;BR /&gt;
name="*" | chart count by name,severity | rename 1 as alert, 2 as critical, 3 as error, 4 as warn, 5 as notice, 6 as info | table name,alert,critical,error,warn,notice,info | sort - alert,critical,error,warn,notice,info | head 20&lt;/P&gt;

&lt;P&gt;This gives a table back with empty fields. Is there a way I can fulfill empty fields with 0?&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;name alert critical error warn notice info
t1                   2     1    1      0
t2                   1     1    0      0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Expectation:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;name alert critical error warn notice info
t1   0     0         2     1    1      0
t2   0     0         1     1    0      0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Christian&lt;/P&gt;</description>
    <pubDate>Sun, 28 Apr 2013 19:41:20 GMT</pubDate>
    <dc:creator>zugji</dc:creator>
    <dc:date>2013-04-28T19:41:20Z</dc:date>
    <item>
      <title>Fulfill empty table entries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fulfill-empty-table-entries/m-p/18069#M2587</link>
      <description>&lt;P&gt;Is there a way I can fulfill empty tables.&lt;BR /&gt;
name="*" | chart count by name,severity | rename 1 as alert, 2 as critical, 3 as error, 4 as warn, 5 as notice, 6 as info | table name,alert,critical,error,warn,notice,info | sort - alert,critical,error,warn,notice,info | head 20&lt;/P&gt;

&lt;P&gt;This gives a table back with empty fields. Is there a way I can fulfill empty fields with 0?&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;name alert critical error warn notice info
t1                   2     1    1      0
t2                   1     1    0      0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Expectation:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;name alert critical error warn notice info
t1   0     0         2     1    1      0
t2   0     0         1     1    0      0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Christian&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2013 19:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fulfill-empty-table-entries/m-p/18069#M2587</guid>
      <dc:creator>zugji</dc:creator>
      <dc:date>2013-04-28T19:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fulfill empty table entries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fulfill-empty-table-entries/m-p/18070#M2588</link>
      <description>&lt;P&gt;You should have a look at the &lt;CODE&gt;fillnull&lt;/CODE&gt; command. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| fillnull alert critical | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Fillnull"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Fillnull&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2013 19:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fulfill-empty-table-entries/m-p/18070#M2588</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-28T19:53:20Z</dc:date>
    </item>
  </channel>
</rss>

