<?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: can i difference between earliest and latest irrsepective of the event data ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90481#M23239</link>
    <description>&lt;P&gt;jonuwz..but when i select alltime ... info_max_time is not working ..can you pls help&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:08:02 GMT</pubDate>
    <dc:creator>rakesh_498115</dc:creator>
    <dc:date>2020-09-28T13:08:02Z</dc:date>
    <item>
      <title>can i difference between earliest and latest irrsepective of the event data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90478#M23236</link>
      <description>&lt;P&gt;Hi .&lt;/P&gt;

&lt;P&gt;I have created a form with a time pick control . Basing on the time selected i need to calucate the Transactions per second on my log data.Say if the user selects last 1 hr i.e say 3pm to 4pm . i have my logs only at 3:30 pm .so now i have calucate the TPS for last 1 hr say 4-3 =1 &lt;/P&gt;

&lt;P&gt;earliest=3pm&lt;BR /&gt;
latest=4pm&lt;/P&gt;

&lt;P&gt;previously i used the following .&lt;/P&gt;

&lt;P&gt;stats earliest(_time) as earliest latest(_time) as latest &lt;/P&gt;

&lt;P&gt;but this is not correct. i need the earliest and latest based on the user selection rather then log event _time.&lt;/P&gt;

&lt;P&gt;Please help me . thnx&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:07:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90478#M23236</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2020-09-28T13:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: can i difference between earliest and latest irrsepective of the event data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90479#M23237</link>
      <description>&lt;P&gt;add &lt;CODE&gt;... | addinfo&lt;/CODE&gt; to your search&lt;/P&gt;

&lt;P&gt;You'll have fields called &lt;/P&gt;

&lt;P&gt;info_min_time: the earliest time bound for the search&lt;BR /&gt;
info_max_time: the latest time bound for the search &lt;/P&gt;

&lt;P&gt;docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/addinfo" target="_blank"&gt;here&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The duration of the search in seconds is &lt;CODE&gt;info_max_time - info_min_time&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90479#M23237</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2020-09-28T13:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: can i difference between earliest and latest irrsepective of the event data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90480#M23238</link>
      <description>&lt;P&gt;Interesting, I genuinely have never come across this before somehow&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 09:25:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90480#M23238</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2013-01-17T09:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: can i difference between earliest and latest irrsepective of the event data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90481#M23239</link>
      <description>&lt;P&gt;jonuwz..but when i select alltime ... info_max_time is not working ..can you pls help&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:08:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90481#M23239</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2020-09-28T13:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: can i difference between earliest and latest irrsepective of the event data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90482#M23240</link>
      <description>&lt;P&gt;What's not working? Just use now() if you want current time as your latest time for searches over all time?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 19:35:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90482#M23240</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-01-17T19:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: can i difference between earliest and latest irrsepective of the event data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90483#M23241</link>
      <description>&lt;P&gt;see Ayn..based on the user selection i need to calculate the time difference in seconds for my TPS formula..so wen say the user selects "alltime" option.It should ideally be the time for that particular index the data came up to now.so earliest would that starting time and now be latest time..&lt;/P&gt;

&lt;P&gt;so in this case if the user selects . addinfo command is not giving info_max_time and info_min_time it is showing as infinity ..:(..thats where i got stuck. its workin for remaning time intervals...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:08:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90483#M23241</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2020-09-28T13:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: can i difference between earliest and latest irrsepective of the event data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90484#M23242</link>
      <description>&lt;P&gt;...which is why I suggested using &lt;CODE&gt;now()&lt;/CODE&gt; in those cases.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 20:00:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-i-difference-between-earliest-and-latest-irrsepective-of-the/m-p/90484#M23242</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-01-17T20:00:48Z</dc:date>
    </item>
  </channel>
</rss>

