<?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: timechart is continous - cannot ignore the timeframe of missing events. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423256#M121473</link>
    <description>&lt;P&gt;screenshot?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 17:33:40 GMT</pubDate>
    <dc:creator>Sukisen1981</dc:creator>
    <dc:date>2019-08-01T17:33:40Z</dc:date>
    <item>
      <title>timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423255#M121472</link>
      <description>&lt;P&gt;one of our dashboards were using below query&lt;BR /&gt;
| timechart count span=1d cont=false&lt;/P&gt;

&lt;P&gt;in 6.6.4 Splunk enterprise, we could see that it can ignore time-frame for missing data when we use cont=false. In 7.2.6&lt;BR /&gt;
 splunk, the results are different, chart shows the timeframe for missing data.&lt;/P&gt;

&lt;P&gt;Attached are screenshots for both splunk versions. I can achieve the expected behavior using stats over one of the field, but i will not be able to use the annotations feature of 7.x. Can you help with this issue to show graph non-continuously and ignore the data for missing timeframe.&lt;/P&gt;

&lt;P&gt;If you would like to replicate. use below query along with attached lookup file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | inputlookup FDE_incidents_mec.csv 
 | sort 0 by time_epoch desc 
 | addinfo 
 | where created_time &amp;gt; info_min_time AND created_time &amp;lt; info_max_time OR info_max_time="+Infinity" 
 | stats count by created_time 
 | sort created_time 
 | eval created_time= strftime(created_time,"%d-%b-%y")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Screenshots - &lt;A href="https://imgur.com/a/1PX3S5s"&gt;https://imgur.com/a/1PX3S5s&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 21:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423255#M121472</guid>
      <dc:creator>praphulla1</dc:creator>
      <dc:date>2019-07-31T21:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423256#M121473</link>
      <description>&lt;P&gt;screenshot?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 17:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423256#M121473</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-01T17:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423257#M121474</link>
      <description>&lt;P&gt;&lt;A href="https://imgur.com/a/1PX3S5s"&gt;https://imgur.com/a/1PX3S5s&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 18:12:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423257#M121474</guid>
      <dc:creator>praphulla1</dc:creator>
      <dc:date>2019-08-01T18:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423258#M121475</link>
      <description>&lt;P&gt;You can either add this to the bottom:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | where count&amp;gt;0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval count=if(count&amp;gt;0, count, null())
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Lastly, you need to decide how to visualize the holes so click on the &lt;CODE&gt;format&lt;/CODE&gt; tool, select the &lt;CODE&gt;General&lt;/CODE&gt; tab and try the different options for &lt;CODE&gt;Null values&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 19:34:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423258#M121475</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-01T19:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423259#M121476</link>
      <description>&lt;P&gt;the output of my query doesn't contain any events with =0. Let me try the options in format tool and get back to you. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 19:41:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423259#M121476</guid>
      <dc:creator>praphulla1</dc:creator>
      <dc:date>2019-08-01T19:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423260#M121477</link>
      <description>&lt;P&gt;If there are no values with &lt;CODE&gt;0&lt;/CODE&gt; then what in the world are you talking about?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 19:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423260#M121477</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-01T19:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423261#M121478</link>
      <description>&lt;P&gt;If you would just like to drop the most-recent time-window which may be partial because of event latency, you can just add this to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | reverse | streamstats count AS _order | where _order = 1 | reverse | fields - _order
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Aug 2019 20:01:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423261#M121478</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-01T20:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423262#M121479</link>
      <description>&lt;P&gt;Did you see the pictures i posted. if you compare the graph you can see that in 7.x it plots the 0 on time-chart making it  look continuous(day 1, 2, 3,4,5,6,7,8,9) vs 6.x where it is non-continuous (day 1,2,5,8,9). Assume day 3,4,6,7 are 0.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 22:30:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423262#M121479</guid>
      <dc:creator>praphulla1</dc:creator>
      <dc:date>2019-08-01T22:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: timechart is continous - cannot ignore the timeframe of missing events.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423263#M121480</link>
      <description>&lt;P&gt;The problem is probably that Splunk has changed the defualt for the &lt;CODE&gt;Null values&lt;/CODE&gt; setting in the &lt;CODE&gt;Format&lt;/CODE&gt; area of the &lt;CODE&gt;timechart&lt;/CODE&gt;.  The possible values are &lt;CODE&gt;Gaps&lt;/CODE&gt;, &lt;CODE&gt;Zero&lt;/CODE&gt;, and &lt;CODE&gt;Connect&lt;/CODE&gt;.  It looks like in one is using &lt;CODE&gt;Zero&lt;/CODE&gt; and the other is using &lt;CODE&gt;Connect&lt;/CODE&gt;.  Try the other values for this setting.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2019 18:54:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-is-continous-cannot-ignore-the-timeframe-of-missing/m-p/423263#M121480</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-04T18:54:03Z</dc:date>
    </item>
  </channel>
</rss>

