<?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: Set x-axis interval in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79609#M181751</link>
    <description>&lt;P&gt;hahaha if only we could switch &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2014 03:36:28 GMT</pubDate>
    <dc:creator>xisura</dc:creator>
    <dc:date>2014-06-27T03:36:28Z</dc:date>
    <item>
      <title>Set x-axis interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79607#M181749</link>
      <description>&lt;P&gt;Hi Everyone ,&lt;/P&gt;

&lt;P&gt;Newbie here, Please help me how to set interval for my line graph Example. I have last 24hrs search and it will display every hour in the x-axis, what i wanted to do is just to display every 3 hours in the x-axis label ex. 3am 6am 12pm 3pm. Please help me how to do that.&lt;/P&gt;

&lt;P&gt;Thanks in Advanced!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 08:48:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79607#M181749</guid>
      <dc:creator>ZaugustZ</dc:creator>
      <dc:date>2013-10-02T08:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set x-axis interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79608#M181750</link>
      <description>&lt;P&gt;That's weird, the default behavior for me with a timechart is to group it into 4 hour increments, and I want it to do every hour! If only we could switch our situations.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2014 18:25:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79608#M181750</guid>
      <dc:creator>chrisdopuch</dc:creator>
      <dc:date>2014-06-23T18:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set x-axis interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79609#M181751</link>
      <description>&lt;P&gt;hahaha if only we could switch &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 03:36:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79609#M181751</guid>
      <dc:creator>xisura</dc:creator>
      <dc:date>2014-06-27T03:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set x-axis interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79610#M181752</link>
      <description>&lt;P&gt;Hi ZaugustZ,&lt;/P&gt;

&lt;P&gt;try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  your base search | timechart span=3h .......
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this will group your timechart results into 3 hours buckets. See the docs for more details about &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/SearchReference/Timechart"&gt;timechart&lt;/A&gt; search command.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 05:46:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79610#M181752</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-06-27T05:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set x-axis interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79611#M181753</link>
      <description>&lt;P&gt;timechart has a span parameter that can be set to a time value - for example, &lt;/P&gt;

&lt;P&gt;... | timechart count span=3h&lt;/P&gt;

&lt;P&gt;However, timechart seems to be optimized for display and can override your requested span value if you set it to an extreme value.  You can get around this by using a combination of bucket and chart.  Bucket sets the time values to the right values, then you chart over time:&lt;/P&gt;

&lt;P&gt;... | bucket _time span=3h | chart count over _time&lt;/P&gt;

&lt;P&gt;Generally I use #1 until it does not work well in a situation -- then I use #2.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 05:55:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Set-x-axis-interval/m-p/79611#M181753</guid>
      <dc:creator>jlord</dc:creator>
      <dc:date>2014-06-27T05:55:52Z</dc:date>
    </item>
  </channel>
</rss>

