<?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 Why does using time range &amp;quot;today&amp;quot; for timechart make it separate into 30 minute intervals? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200030#M12538</link>
    <description>&lt;P&gt;My search is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=... source = "..."| timechart limit=100 latest(TIME) as Completion_Time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I make it a week, it goes day by day. However, for "Today" it has 6 rows going from 7am to 930am in 30 minute increments.&lt;/P&gt;</description>
    <pubDate>Sat, 29 Aug 2015 23:01:02 GMT</pubDate>
    <dc:creator>alanxu</dc:creator>
    <dc:date>2015-08-29T23:01:02Z</dc:date>
    <item>
      <title>Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200030#M12538</link>
      <description>&lt;P&gt;My search is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=... source = "..."| timechart limit=100 latest(TIME) as Completion_Time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I make it a week, it goes day by day. However, for "Today" it has 6 rows going from 7am to 930am in 30 minute increments.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2015 23:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200030#M12538</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-29T23:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200031#M12539</link>
      <description>&lt;P&gt;By default, &lt;CODE&gt;timechart&lt;/CODE&gt; will split your time range into up to 100 buckets, using predefined steps. For 7 days you'd get 168 hours and therefore more than 100 buckets, whole days are the next step up and obviously under 100. For 24 hours you can fit in 48 30-minute buckets, but not 144 10-minute buckets.&lt;/P&gt;

&lt;P&gt;You can change that behaviour by either specifying &lt;CODE&gt;span=&lt;/CODE&gt; directly, or by changing the number for &lt;CODE&gt;bins=&lt;/CODE&gt; to a different value than 100.&lt;/P&gt;

&lt;P&gt;The start at 7am may be related to your timezone vs the server's timezone, depending on what the start of day is. Additionally, depending on the data there simply may be no events that happened before 7am.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2015 23:34:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200031#M12539</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-08-29T23:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200032#M12540</link>
      <description>&lt;P&gt;Oh so my span should be &lt;CODE&gt;span=d&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2015 23:50:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200032#M12540</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-29T23:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200033#M12541</link>
      <description>&lt;P&gt;for 'span=1d' it works for 24 hours but not today... Is there a certain span that would work?&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 00:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200033#M12541</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-30T00:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200034#M12542</link>
      <description>&lt;P&gt;alanxu,&lt;/P&gt;

&lt;P&gt;It may help you to &lt;A href="http://answers.splunk.com/answers/173154/is-there-any-way-to-set-a-higher-default-binsxxx-f.html"&gt;read up on a question&lt;/A&gt; I asked a while ago about how to set the default number of "bins" that are available to a somewhat higher number.&lt;/P&gt;

&lt;P&gt;I wanted enough that I could see a week at 1 hour increments (by default), which is 168 or more, but I also didn't want to overload anything.  I set mine a default at 200, and that gives me the granularity I want.  It has worked out very well.&lt;/P&gt;

&lt;P&gt;If that answer works for you, give the person who answered it some points by upvoting it: MarioM.  He'll appreciate knowing this answer helped yet another person.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 00:17:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200034#M12542</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-08-30T00:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200035#M12543</link>
      <description>&lt;P&gt;Ah I cant touch the .config file.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 00:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200035#M12543</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-30T00:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200036#M12544</link>
      <description>&lt;P&gt;Bummer.  &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I have found the &lt;CODE&gt;bins=X&lt;/CODE&gt; is likely a better option than &lt;CODE&gt;span=X&lt;/CODE&gt;, generally.  There are advantages and disadvantages to each.&lt;/P&gt;

&lt;P&gt;span=X gets you right to where you want to be, but if you change the date/time frame and length it's not flexible.  Span=1h works great for 1 week, but isn't so useful for 6 months.  If you are building dashboard with no time picker, it can be a perfect fit.&lt;/P&gt;

&lt;P&gt;bins=X is more flexible because it sets the upper bound on how many bins Splunk will use so it can adjust within that range and change to fit vastly different time frames, but it can sometimes be difficult to find an X that fits all your needs.  &lt;/P&gt;

&lt;P&gt;Oh, and listen to martin_mueller.  I've become convinced he knows nearly everything.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 01:14:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200036#M12544</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-08-30T01:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200037#M12545</link>
      <description>&lt;P&gt;In what way doesn't &lt;CODE&gt;span=1d&lt;/CODE&gt; work for &lt;CODE&gt;Today&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;Note, it's pretty pointless to use &lt;CODE&gt;timechart&lt;/CODE&gt; and forcing it to only use one time bucket. Instead, use &lt;CODE&gt;stats&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 12:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200037#M12545</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-08-30T12:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why does using time range "today" for timechart make it separate into 30 minute intervals?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200038#M12546</link>
      <description>&lt;P&gt;I second this, especially as I read the last part of your comment again.  Stats is quite powerful and more efficient as well.&lt;/P&gt;

&lt;P&gt;To answer your question, you are probably getting into how the span=1d splits the day.  It does so at midnight, so if you run the report at midnight all is well.  If you run it at another time, you get two returned values - one for yesterday and one for today.  You can likely make your search work "better" in this regard (though be a worse in a lot of other regards, possibly) by snapping your earliest/latest times.  &lt;A href="http://Examples+of+relative+time+modifiers"&gt;See here&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;And, while we are still sort of exploring this one aspect of Splunk, I think you may be better off to think about what it is you are &lt;STRONG&gt;generally&lt;/STRONG&gt; trying to accomplish and create a new question to ask how to get that done.  That will keep this question as one question with one good answer which will help others who search for problems like this.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2015 12:42:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-using-time-range-quot-today-quot-for-timechart-make-it/m-p/200038#M12546</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-08-30T12:42:34Z</dc:date>
    </item>
  </channel>
</rss>

