<?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 Graph extends into the future in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-Graph-extends-into-the-future/m-p/181679#M52355</link>
    <description>&lt;P&gt;I'd strongly suggest you use the &lt;A href="http://apps.splunk.com/app/1645/"&gt;timewrap&lt;/A&gt; command for this use case. The documentation should give you some guidance on how to contruct the searches you are after.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2013 21:18:19 GMT</pubDate>
    <dc:creator>dart</dc:creator>
    <dc:date>2013-12-17T21:18:19Z</dc:date>
    <item>
      <title>Timechart Graph extends into the future</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-Graph-extends-into-the-future/m-p/181678#M52354</link>
      <description>&lt;P&gt;index=summary_security earliest=-1d@d latest=now orig_sourcetype=dhcp | timechart count by orig_sourcetype | eval marker = "today" | eval _time = _time+1800 | append [search index=summary_security earliest=-7d@d latest=-6d@d  orig_sourcetype=dhcp | timechart count by orig_sourcetype | eval marker = "last week" | eval _time = _time+86400*7+1800] | timechart sum(dhcp) by marker&lt;/P&gt;

&lt;P&gt;I'm using the above search in order to create a week over week comparison of my sourcetype counts. The problem is that my "last week" data flatlines after the day i'm looking at and continues for a week into the future creating a bunch of white space in my graph. &lt;/P&gt;

&lt;P&gt;Any ideas how to solve this one?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:30:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-Graph-extends-into-the-future/m-p/181678#M52354</guid>
      <dc:creator>tprzelom</dc:creator>
      <dc:date>2020-09-28T15:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Graph extends into the future</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-Graph-extends-into-the-future/m-p/181679#M52355</link>
      <description>&lt;P&gt;I'd strongly suggest you use the &lt;A href="http://apps.splunk.com/app/1645/"&gt;timewrap&lt;/A&gt; command for this use case. The documentation should give you some guidance on how to contruct the searches you are after.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 21:18:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-Graph-extends-into-the-future/m-p/181679#M52355</guid>
      <dc:creator>dart</dc:creator>
      <dc:date>2013-12-17T21:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Graph extends into the future</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-Graph-extends-into-the-future/m-p/181680#M52356</link>
      <description>&lt;P&gt;index=summary_security earliest=@d latest=-30m orig_sourcetype=dhcp | timechart partial=f span=30m count by orig_sourcetype | eval marker = "today" | eval _time = _time+1800  | append [search index=summary_security earliest=-7d@d-30m latest=-6d@d-30m orig_sourcetype=dhcp | timechart partial=f span=30m count by orig_sourcetype | eval marker = "last_week" | eval _time = _time+86400*7+1800] | search NOT dhcp=0 | timechart partial=f span=30m avg(dhcp) by marker&lt;/P&gt;

&lt;P&gt;This is the final search I came up with. Adding in "search NOT dhcp=0" removed the extra portions of the graph.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:30:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-Graph-extends-into-the-future/m-p/181680#M52356</guid>
      <dc:creator>tprzelom</dc:creator>
      <dc:date>2020-09-28T15:30:42Z</dc:date>
    </item>
  </channel>
</rss>

