<?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 to fill empty latest parameter in URL in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226450#M66771</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;when I open a dashboard with a default timepicker on yesterday the browser line looks:&lt;/P&gt;

&lt;P&gt;?form.field1.earliest=-1d%40d&amp;amp;form.field1.latest=%40d&lt;/P&gt;

&lt;P&gt;and if I use all time (like you)&lt;/P&gt;

&lt;P&gt;?form.field1.earliest=0&amp;amp;form.field1.latest=&lt;/P&gt;

&lt;P&gt;are you sure the now is not deleted because its not necessary?&lt;/P&gt;

&lt;P&gt;HTH&lt;BR /&gt;
Kind Regards&lt;BR /&gt;
SierraX&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2016 09:48:54 GMT</pubDate>
    <dc:creator>SierraX</dc:creator>
    <dc:date>2016-11-11T09:48:54Z</dc:date>
    <item>
      <title>How to fill empty latest parameter in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226449#M66770</link>
      <description>&lt;P&gt;When I open a dashboard the URL looks like this:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://....../en-US/app/app_name/dashboard?earliest=0&amp;amp;latest=" target="test_blank"&gt;https://....../en-US/app/app_name/dashboard?earliest=0&amp;amp;latest=&lt;/A&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;However, when my dashboard reloads after a while, after login, the url looks like this:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://....../en-US/app/app_name/dashboard?earliest=0" target="test_blank"&gt;https://....../en-US/app/app_name/dashboard?earliest=0&lt;/A&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Since the latest= disappeared the dashboard states that the graphs are waiting for input. How can I change this behavior and always set latest=now in my dashboard URL, to prevent it from failing after a reload?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 07:59:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226449#M66770</guid>
      <dc:creator>mbschriek</dc:creator>
      <dc:date>2016-11-11T07:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty latest parameter in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226450#M66771</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;when I open a dashboard with a default timepicker on yesterday the browser line looks:&lt;/P&gt;

&lt;P&gt;?form.field1.earliest=-1d%40d&amp;amp;form.field1.latest=%40d&lt;/P&gt;

&lt;P&gt;and if I use all time (like you)&lt;/P&gt;

&lt;P&gt;?form.field1.earliest=0&amp;amp;form.field1.latest=&lt;/P&gt;

&lt;P&gt;are you sure the now is not deleted because its not necessary?&lt;/P&gt;

&lt;P&gt;HTH&lt;BR /&gt;
Kind Regards&lt;BR /&gt;
SierraX&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 09:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226450#M66771</guid>
      <dc:creator>SierraX</dc:creator>
      <dc:date>2016-11-11T09:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty latest parameter in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226451#M66772</link>
      <description>&lt;P&gt;btw %40 == @&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 09:52:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226451#M66772</guid>
      <dc:creator>SierraX</dc:creator>
      <dc:date>2016-11-11T09:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty latest parameter in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226452#M66773</link>
      <description>&lt;P&gt;The following field are added by default which tells dashabord to be run for all time. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;**earliest=0&amp;amp;latest=**
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However the same will not be applied to your query unless you have used Search string time range scope as tokens/Global&lt;/P&gt;

&lt;P&gt;If you want to use Time control to for setting latest time as well set it to now instead of empty. If you dont need the same then set Time Range to Explicit so that it takes whatever timerange you provide to the specific query.&lt;BR /&gt;
i.e. &lt;STRONG&gt;latest=now&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Also running Dashboard for All time would not be a recommended approach so earliest should ideally not be set to 0.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 12:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226452#M66773</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2016-11-11T12:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty latest parameter in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226453#M66774</link>
      <description>&lt;P&gt;Empty latest field is same as &lt;STRONG&gt;latest=now&lt;/STRONG&gt; or &lt;STRONG&gt;latest=@s&lt;/STRONG&gt;. However, while setting All Time in the Time input control from the Presets, the latest value is set as empty which can not be utilized by panels. So, Edit Panel &amp;gt; Edit Time input and if you have to choose Default time as All Time then instead of choosing All Time from Presets, select &lt;STRONG&gt;Advanced&lt;/STRONG&gt; drop down and enter &lt;STRONG&gt;Earliest=0&lt;/STRONG&gt; and &lt;STRONG&gt;Latest=now&lt;/STRONG&gt; and click Apply.&lt;/P&gt;

&lt;P&gt;Both of the following should work&lt;BR /&gt;
Latest=now or Latest=@s&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 13:45:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226453#M66774</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2016-11-11T13:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty latest parameter in URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226454#M66775</link>
      <description>&lt;P&gt;Thanks for the reply. The time mechanism in Splunk is known by me. I've used tokens in my dashboard for the time pickers, so the ones in the url are not similar. However, the strange thing behavior is that keeping a dashboard open with the first URL, hibernating a laptop, and starting the dashboard again (URL 1 becomes URL 2) shows an "waiting for input" error in my panel.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 07:05:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fill-empty-latest-parameter-in-URL/m-p/226454#M66775</guid>
      <dc:creator>mbschriek</dc:creator>
      <dc:date>2016-11-14T07:05:06Z</dc:date>
    </item>
  </channel>
</rss>

