<?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: Relative Time Value to Timepicker Latest in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429914#M122923</link>
    <description>&lt;P&gt;yes i am:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;search&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$timepicker.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 15 Mar 2019 13:45:28 GMT</pubDate>
    <dc:creator>hypePG</dc:creator>
    <dc:date>2019-03-15T13:45:28Z</dc:date>
    <item>
      <title>Relative Time Value to Timepicker Latest</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429910#M122919</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;I got a dashboard with different panels. They are all controlled by a single timepicker.&lt;BR /&gt;
Usually the timeranges a several weeks. In one of the panels I want an overview for the last 24 hours relative to the latest time.&lt;/P&gt;

&lt;P&gt;For Example:&lt;/P&gt;

&lt;P&gt;Time range picked via the picker:&lt;BR /&gt;
01.03.2019-8.03.2019&lt;BR /&gt;
24h Overview should display events for this range:&lt;BR /&gt;
07.03.2019-8.03.2019&lt;/P&gt;

&lt;P&gt;I tried working with tokens and different method to calculate the new earliest time but didnt get it to work.&lt;BR /&gt;
I think it will be a simple fix but I jsut cant get it atm.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 18:57:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429910#M122919</guid>
      <dc:creator>hypePG</dc:creator>
      <dc:date>2019-03-12T18:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Time Value to Timepicker Latest</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429911#M122920</link>
      <description>&lt;P&gt;Hi @hypePG&lt;/P&gt;

&lt;P&gt;Try like in that panel with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" |stats count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$time.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2019 04:40:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429911#M122920</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-13T04:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Time Value to Timepicker Latest</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429912#M122921</link>
      <description>&lt;P&gt;hey,&lt;/P&gt;

&lt;P&gt;thanks for your answer! tried this already, i get the error message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Invalid latest_time: latest_time must be after earliest_time. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;regards,&lt;/P&gt;

&lt;P&gt;max&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 08:49:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429912#M122921</guid>
      <dc:creator>hypePG</dc:creator>
      <dc:date>2019-03-13T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Time Value to Timepicker Latest</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429913#M122922</link>
      <description>&lt;P&gt;are you passing timepickers latest time?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 08:51:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429913#M122922</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-13T08:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Time Value to Timepicker Latest</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429914#M122923</link>
      <description>&lt;P&gt;yes i am:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;search&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$timepicker.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Mar 2019 13:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429914#M122923</guid>
      <dc:creator>hypePG</dc:creator>
      <dc:date>2019-03-15T13:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Time Value to Timepicker Latest</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429915#M122924</link>
      <description>&lt;P&gt;what is the time range that you have selected?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 16:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Relative-Time-Value-to-Timepicker-Latest/m-p/429915#M122924</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-15T16:20:56Z</dc:date>
    </item>
  </channel>
</rss>

