<?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: makecontinuous and fillnull for selfmade date-hour column in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/makecontinuous-and-fillnull-for-selfmade-date-hour-column/m-p/468240#M131827</link>
    <description>&lt;P&gt;It looks like you're trying to do makecontinuous over _time. If you haven't already, take a look at the documentation here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.0.0/SearchReference/Makecontinuous#Examples"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.0.0/SearchReference/Makecontinuous#Examples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You'll need to pass in a few extra settings to makecontinuous to tell it what size bin/span you want to use.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2019 14:50:26 GMT</pubDate>
    <dc:creator>martynoconnor</dc:creator>
    <dc:date>2019-12-19T14:50:26Z</dc:date>
    <item>
      <title>makecontinuous and fillnull for selfmade date-hour column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/makecontinuous-and-fillnull-for-selfmade-date-hour-column/m-p/468239#M131826</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to fill empty hours (without events) using makecontinuous.&lt;BR /&gt;
The time column created in the query/&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count(s_id) as C
FROM datamodel=Hs
by s_date s_hour
| eval date_hour = s_date." ".s_hour
| eval y=strptime(date_hour, "%Y-%m-%d %H")
| eval z=strftime(y, "%Y-%m-%dT%H:%M:%S.%Q")
| fields z C
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;z   C&lt;BR /&gt;
1   2019-12-18T10:00:00.000 735017&lt;BR /&gt;
2   2019-12-18T11:00:00.000 743298&lt;BR /&gt;
3   2019-12-18T12:00:00.000 733748&lt;BR /&gt;
4   2019-12-18T13:00:00.000 723318&lt;BR /&gt;
5   2019-12-18T14:00:00.000 737788&lt;BR /&gt;
6   2019-12-18T15:00:00.000 702345&lt;BR /&gt;
7   2019-12-18T08:00:00.000 682183&lt;BR /&gt;
8   2019-12-18T09:00:00.000 699685&lt;BR /&gt;
9   2019-12-19T00:00:00.000 485244&lt;/P&gt;

&lt;P&gt;There is a hole between lines 6-7 and I want to complete it in houtly rows (with value 0 for column C).&lt;/P&gt;

&lt;P&gt;Tried few queries with makecontinuous but no results..&lt;/P&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:26:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/makecontinuous-and-fillnull-for-selfmade-date-hour-column/m-p/468239#M131826</guid>
      <dc:creator>egur</dc:creator>
      <dc:date>2019-12-19T13:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: makecontinuous and fillnull for selfmade date-hour column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/makecontinuous-and-fillnull-for-selfmade-date-hour-column/m-p/468240#M131827</link>
      <description>&lt;P&gt;It looks like you're trying to do makecontinuous over _time. If you haven't already, take a look at the documentation here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.0.0/SearchReference/Makecontinuous#Examples"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.0.0/SearchReference/Makecontinuous#Examples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You'll need to pass in a few extra settings to makecontinuous to tell it what size bin/span you want to use.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 14:50:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/makecontinuous-and-fillnull-for-selfmade-date-hour-column/m-p/468240#M131827</guid>
      <dc:creator>martynoconnor</dc:creator>
      <dc:date>2019-12-19T14:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: makecontinuous and fillnull for selfmade date-hour column</title>
      <link>https://community.splunk.com/t5/Splunk-Search/makecontinuous-and-fillnull-for-selfmade-date-hour-column/m-p/468241#M131828</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; | tstats count(s_id) as C
 FROM datamodel=Hs
 by s_date s_hour
 | eval date_hour = s_date." ".s_hour
 | eval y=strptime(date_hour, "%Y-%m-%d %H")
 | eval _time = y
 | timechart limit=0 span=1h values(C) as C
 | eval z=strftime(_time, "%Y-%m-%dT%H:%M:%S.%Q")
 | fields z C
 | fillnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi, @martynoconnor&lt;BR /&gt;
how about it? I don't use &lt;CODE&gt;makecontinious&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 20:21:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/makecontinuous-and-fillnull-for-selfmade-date-hour-column/m-p/468241#M131828</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-12-19T20:21:56Z</dc:date>
    </item>
  </channel>
</rss>

