<?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 can I use fillnull to fill in different values for different fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250254#M74723</link>
    <description>&lt;P&gt;Use &lt;CODE&gt;fillnull&lt;/CODE&gt; for IN/OUT and &lt;CODE&gt;filldown&lt;/CODE&gt; for RUNNING.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| fillnull IN OUT value=0 | filldown RUNNING
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Fillnull"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Fillnull&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Filldown"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Filldown&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2016 15:49:01 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-11-29T15:49:01Z</dc:date>
    <item>
      <title>How can I use fillnull to fill in different values for different fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250253#M74722</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I have a timechart that plots three values: incoming objects, outgoing objects, and the running amount of objects in the queue.  If I call &lt;CODE&gt;fillnull&lt;/CODE&gt; the timechart function will fill in entries with 0 where no data is present, but before I use it, I have the following table:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time, IN, OUT, RUNNING
2016-11-01,1,0,1
2016-11-02,4,0,5
2016-11-03,3,6,2
2016-11-04,4,0,6
2016-11-05,1,0,7
2016-11-06,,, 
2016-11-07,1,2,6
2016-11-08,3,1,8
2016-11-09,1,0,9
2016-11-10,1,3,7
2016-11-11,1,0,8
2016-11-12,,, 
2016-11-13,,, 
2016-11-14,4,1,11
2016-11-15,4,2,13
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The resulting line chart is:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/BmIvGgM.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;When I use &lt;CODE&gt;fillnull&lt;/CODE&gt;, it adds zeros and the graph stays the same:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time, IN, OUT, RUNNING
2016-11-01,1,0,1
2016-11-02,4,0,5
2016-11-03,3,6,2
2016-11-04,4,0,6
2016-11-05,1,0,7
2016-11-06,0,0,0 
2016-11-07,1,2,6
2016-11-08,3,1,8
2016-11-09,1,0,9
2016-11-10,1,3,7
2016-11-11,1,0,8
2016-11-12,0,0,0 
2016-11-13,0,0,0 
2016-11-14,4,1,11
2016-11-15,4,2,13
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I'd like to do is ensure that the value for RUNNING stays constant while IN and OUT stay at 0:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time, IN, OUT, RUNNING
2016-11-01,1,0,1
2016-11-02,4,0,5
2016-11-03,3,6,2
2016-11-04,4,0,6
2016-11-05,1,0,7
2016-11-06,0,0,7 
2016-11-07,1,2,6
2016-11-08,3,1,8
2016-11-09,1,0,9
2016-11-10,1,3,7
2016-11-11,1,0,8
2016-11-12,0,0,8 
2016-11-13,0,0,8 
2016-11-14,4,1,11
2016-11-15,4,2,13
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I do this?&lt;/P&gt;

&lt;P&gt;Thank you and best regards,&lt;/P&gt;

&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 15:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250253#M74722</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2016-11-29T15:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use fillnull to fill in different values for different fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250254#M74723</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;fillnull&lt;/CODE&gt; for IN/OUT and &lt;CODE&gt;filldown&lt;/CODE&gt; for RUNNING.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| fillnull IN OUT value=0 | filldown RUNNING
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Fillnull"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Fillnull&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Filldown"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Filldown&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 15:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250254#M74723</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-11-29T15:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use fillnull to fill in different values for different fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250255#M74724</link>
      <description>&lt;P&gt;Insert &lt;CODE&gt;filldown RUNNING |&lt;/CODE&gt; before your &lt;CODE&gt;fillnull&lt;/CODE&gt; command.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 15:49:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250255#M74724</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-11-29T15:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use fillnull to fill in different values for different fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250256#M74725</link>
      <description>&lt;P&gt;I wish I could accept two answers, but thank you so much for your input as well!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 16:05:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250256#M74725</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2016-11-29T16:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use fillnull to fill in different values for different fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250257#M74726</link>
      <description>&lt;P&gt;So simple... how did I not figure that out?  Thanks so much!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 16:05:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-fillnull-to-fill-in-different-values-for-different/m-p/250257#M74726</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2016-11-29T16:05:48Z</dc:date>
    </item>
  </channel>
</rss>

