<?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: How do I change the span based on the time picker selection using timechart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419097#M120484</link>
    <description>&lt;P&gt;@FrankVI  I have a one dashboard which consist of only one visualisation with one time picker. In timepicker if we select 2months, than in visualisation timechart span should be 1mon like that&lt;/P&gt;</description>
    <pubDate>Tue, 04 Dec 2018 13:57:12 GMT</pubDate>
    <dc:creator>james_n</dc:creator>
    <dc:date>2018-12-04T13:57:12Z</dc:date>
    <item>
      <title>How do I change the span based on the time picker selection using timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419094#M120481</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;I have a simple query i.e |timechart  count by something&lt;/P&gt;

&lt;P&gt;The span should change dynamically, for EX: if I select today, the span should be 1h — if I select last months span, it should be 1d — if i select the last 3 months' span, it should be 1mon,&lt;/P&gt;

&lt;P&gt;|timechart span=$$ count by something. Plz help me on this.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 10:55:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419094#M120481</guid>
      <dc:creator>james_n</dc:creator>
      <dc:date>2018-12-04T10:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the span based on the time picker selection using timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419095#M120482</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;on a dashboard you could try this:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/576752/how-to-compare-time-range-picker-to-change-span-of.html"&gt;https://answers.splunk.com/answers/576752/how-to-compare-time-range-picker-to-change-span-of.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 12:51:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419095#M120482</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2018-12-04T12:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the span based on the time picker selection using timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419096#M120483</link>
      <description>&lt;P&gt;What you describe is pretty much the standard behavior of the timechart command. Ar you running into specific situations where you would like to deviate from the automatically chosen span?&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.1/SearchReference/Timechart#Default_time_spans"&gt;http://docs.splunk.com/Documentation/Splunk/7.2.1/SearchReference/Timechart#Default_time_spans&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 13:50:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419096#M120483</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-12-04T13:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the span based on the time picker selection using timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419097#M120484</link>
      <description>&lt;P&gt;@FrankVI  I have a one dashboard which consist of only one visualisation with one time picker. In timepicker if we select 2months, than in visualisation timechart span should be 1mon like that&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 13:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419097#M120484</guid>
      <dc:creator>james_n</dc:creator>
      <dc:date>2018-12-04T13:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the span based on the time picker selection using timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419098#M120485</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;timechart bins=40&lt;/CODE&gt; to achieve your examples. It'll tell splunk to use 40 or fewer bins - 24 hours in a day, 48 half-hours, pick hours, etc. &lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:47:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/419098#M120485</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-12-04T19:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the span based on the time picker selection using timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/626077#M217614</link>
      <description>&lt;P&gt;Perfect. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 01:17:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-span-based-on-the-time-picker-selection/m-p/626077#M217614</guid>
      <dc:creator>JohnMurphyAus</dc:creator>
      <dc:date>2023-01-06T01:17:30Z</dc:date>
    </item>
  </channel>
</rss>

