<?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 X Axis - Limiting the Time Range Plot in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152121#M42630</link>
    <description>&lt;P&gt;See the documentation on the timechart command here and see the option "cont".&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Timechart#Optional_arguments"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Timechart#Optional_arguments&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Its defaults to true and forces timechart to span over the timerange. Making it false or f will trim your chart from min to max value of _time.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2014 21:46:07 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-12-16T21:46:07Z</dc:date>
    <item>
      <title>Timechart X Axis - Limiting the Time Range Plot</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152120#M42629</link>
      <description>&lt;P&gt;I'm performing a search and plotting a timechart&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=hello_index sourcetype=hello_sourcetype event_id="001" now="12/16/2014:00:00:00" earliest="-1d@d" latest="+2d@d"| ...... |.....|
..| eval _time=time_stamp_I_calculated|timechart sum(something)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have a search over 72 hrs because I don't exactly know when the event_id "001" happened.  I modified _time so that it contains the timestamps of my interest during my search. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt; &lt;BR /&gt;
Timechart plots time on the x axis for the 72 hr window(from 15th Dec to 17th Dec).&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;BR /&gt;
Is there a way to plot the Xaxis using time range of my interest (from the min value to the max value of _time) and not the 72 hr window. &lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 21:28:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152120#M42629</guid>
      <dc:creator>nibinabr</dc:creator>
      <dc:date>2014-12-16T21:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart X Axis - Limiting the Time Range Plot</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152121#M42630</link>
      <description>&lt;P&gt;See the documentation on the timechart command here and see the option "cont".&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Timechart#Optional_arguments"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Timechart#Optional_arguments&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Its defaults to true and forces timechart to span over the timerange. Making it false or f will trim your chart from min to max value of _time.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 21:46:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152121#M42630</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-12-16T21:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart X Axis - Limiting the Time Range Plot</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152122#M42631</link>
      <description>&lt;P&gt;try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; .....|timechart span=1d cont=f sum(something)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Dec 2014 09:04:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152122#M42631</guid>
      <dc:creator>tachifelix</dc:creator>
      <dc:date>2014-12-17T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart X Axis - Limiting the Time Range Plot</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152123#M42632</link>
      <description>&lt;P&gt;I'm not exactly sure why &lt;EM&gt;cont&lt;/EM&gt; didn't work well for me. I solved this issue by doing a &lt;EM&gt;sub search&lt;/EM&gt; that returns the earliest and latest time and use that as the earliest and latest values for the parent search. &lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2014 15:25:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-X-Axis-Limiting-the-Time-Range-Plot/m-p/152123#M42632</guid>
      <dc:creator>nibinabr</dc:creator>
      <dc:date>2014-12-17T15:25:22Z</dc:date>
    </item>
  </channel>
</rss>

