<?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 fill missing values in a time range in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/520811#M8456</link>
    <description>&lt;P&gt;But this only allows us to fill a constant value rite ? .... Whereas what I want to fill is with dynamic &lt;STRONG&gt;progressive values&lt;/STRONG&gt; starting from the given input (here it's 600)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2020 11:53:52 GMT</pubDate>
    <dc:creator>prithvi</dc:creator>
    <dc:date>2020-09-22T11:53:52Z</dc:date>
    <item>
      <title>How to fill missing values in a time range?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/520800#M8454</link>
      <description>&lt;P&gt;Is it possible to &lt;STRONG&gt;populate &lt;/STRONG&gt;the &lt;STRONG&gt;intermediate missing data&lt;/STRONG&gt; along the "&lt;STRONG&gt;Target&lt;/STRONG&gt;" column in a &lt;STRONG&gt;continuous fashion&lt;/STRONG&gt; over the period of time based on the start and end values&lt;/P&gt;
&lt;TABLE width="508"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;&lt;STRONG&gt;_time &lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;&lt;STRONG&gt;Total &lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&lt;STRONG&gt;Target&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-08-01&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&lt;STRONG&gt;600&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-09-15&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;1000&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-09-16&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;1250&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-09-17&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;1500&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-09-18&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;1750&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-09-19&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;2000&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-09-20&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;2250&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-09-21&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;2750&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-09-22&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;3250&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="240px" height="25px"&gt;2020-10-05&lt;/TD&gt;
&lt;TD width="144px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="123px" height="25px"&gt;&lt;STRONG&gt;5500&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 21:04:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/520800#M8454</guid>
      <dc:creator>prithvi</dc:creator>
      <dc:date>2020-09-25T21:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill missing values in a time range</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/520808#M8455</link>
      <description>&lt;LI-CODE lang="markup"&gt;| timechart span=1d ...
| fillnull value=0 Target Total&lt;/LI-CODE&gt;&lt;P&gt;Timechart will give you continuous time bins, fillnull will allow you to set the value you want in a field if it is not present&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 11:48:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/520808#M8455</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-09-22T11:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill missing values in a time range</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/520811#M8456</link>
      <description>&lt;P&gt;But this only allows us to fill a constant value rite ? .... Whereas what I want to fill is with dynamic &lt;STRONG&gt;progressive values&lt;/STRONG&gt; starting from the given input (here it's 600)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 11:53:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/520811#M8456</guid>
      <dc:creator>prithvi</dc:creator>
      <dc:date>2020-09-22T11:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill missing values in a time range</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/564693#M10978</link>
      <description>&lt;P&gt;use streamstats&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 12:27:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/564693#M10978</guid>
      <dc:creator>yoho</dc:creator>
      <dc:date>2021-08-25T12:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill missing values in a time range</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/564701#M10979</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults
| eval _raw="_time,Total,Target
2020-08-01,,600
2020-09-15,1000
2020-09-16,1250
2020-09-17,1500
2020-09-18,1750
2020-09-19,2000
2020-09-20,2250
2020-09-21,2750
2020-09-22,3250
2020-10-05,,5500"
| multikv forceheader=1
| eval _time=strptime(time,"%Y-%m-%d")
| table _time Total Target




| eventstats min(Target) as Min max(Target) as Max min(_time) as Start max(_time) as End
| eval days=floor((_time-Start)/(60*60*24))
| eventstats max(days) as period
| eval Target=Min+((Max-Min)*days/period)
| table _time Total Target&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Aug 2021 12:54:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-fill-missing-values-in-a-time-range/m-p/564701#M10979</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-25T12:54:38Z</dc:date>
    </item>
  </channel>
</rss>

