<?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 If you create a timechart with a span, and then set &amp;quot;earliest&amp;quot; and &amp;quot;latest&amp;quot; parameters, does one overwrite the other? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223641#M65842</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I wonder if someone could help me please with a search I have and I apologize in advance for the newbie question.&lt;/P&gt;

&lt;P&gt;If you create a timechart with a span, and then you set a 'Earliest' and 'Latest' time period, does one overwrite the other?&lt;/P&gt;

&lt;P&gt;Could someone perhaps explain the difference please.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2015 11:32:07 GMT</pubDate>
    <dc:creator>IRHM73</dc:creator>
    <dc:date>2015-11-10T11:32:07Z</dc:date>
    <item>
      <title>If you create a timechart with a span, and then set "earliest" and "latest" parameters, does one overwrite the other?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223641#M65842</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I wonder if someone could help me please with a search I have and I apologize in advance for the newbie question.&lt;/P&gt;

&lt;P&gt;If you create a timechart with a span, and then you set a 'Earliest' and 'Latest' time period, does one overwrite the other?&lt;/P&gt;

&lt;P&gt;Could someone perhaps explain the difference please.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 11:32:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223641#M65842</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-11-10T11:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: If you create a timechart with a span, and then set "earliest" and "latest" parameters, does one overwrite the other?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223642#M65843</link>
      <description>&lt;P&gt;These settings will not overwrite each other, they do different things.&lt;/P&gt;

&lt;P&gt;When you set earliest and latest, this is a setting that applies to your entire search and determines from which period of time to fetch results. It's like giving someone the pages of a book in which to look for something, i.e.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Go through pages 12 to 25 and count how often you find the word 'hint'.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may want to see these results in different forms, i.e. you might want to see the total of these occurences, or you might want to know how many there are per page, or in the first and last six pages of this "span". When you set a span, you tell the &lt;CODE&gt;timechart&lt;/CODE&gt; command how to aggregate its results by defining the size of your (time) buckets. To continue with the above example, this would be like saying &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Go through pages 12 to 25 and count how often you find the word 'hint', but show me how many of these occurences were on pages 12 to 18 and how many were on pages 19 to 25.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In these examples, the pages represent arbitrary time elements. I hope you get what I'm trying to show, feel free to come back with any questions!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 12:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223642#M65843</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-11-10T12:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: If you create a timechart with a span, and then set "earliest" and "latest" parameters, does one overwrite the other?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223643#M65844</link>
      <description>&lt;P&gt;No, these settings won't overwrite each other, since they are inteded to do different things.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearch earliest=-12h latest=-6h | timechart count()
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This example will show you all results in the timeframe from 12h ago until 6h ago&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearch earliest=-12h latest=-6h | timechart span=1h count()
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;will do the same, but organize your results in buckets, so you will have accumulated results &lt;EM&gt;per hour&lt;/EM&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 12:14:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223643#M65844</guid>
      <dc:creator>DMohn</dc:creator>
      <dc:date>2015-11-10T12:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: If you create a timechart with a span, and then set "earliest" and "latest" parameters, does one overwrite the other?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223644#M65845</link>
      <description>&lt;P&gt;Hi @jeffland, thank you for taking the time to come back to me a very comprehensive and understandable reply.&lt;/P&gt;

&lt;P&gt;Greatly appreciate!&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 12:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223644#M65845</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-11-10T12:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: If you create a timechart with a span, and then set "earliest" and "latest" parameters, does one overwrite the other?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223645#M65846</link>
      <description>&lt;P&gt;Hi @DMohn, thank you very  much for taking the time to reply to my post and for the explanation.&lt;/P&gt;

&lt;P&gt;Very helpful indeed!&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 06:13:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-you-create-a-timechart-with-a-span-and-then-set-quot-earliest/m-p/223645#M65846</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-11-11T06:13:16Z</dc:date>
    </item>
  </channel>
</rss>

