<?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: Mutiple timepicker for same search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50418#M12121</link>
    <description>&lt;P&gt;The only way I see would be to rewrite the keys from the first TimeRangePicker with a ValueSetter to avoid being overwritten by the second TimeRangePicker - I have no idea whether this will work or not though.&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2013 07:50:36 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-05-30T07:50:36Z</dc:date>
    <item>
      <title>Mutiple timepicker for same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50417#M12120</link>
      <description>&lt;P&gt;I'm having a query that has a sub-search. I want to pass one time-period to outer query and another to sub-search.&lt;/P&gt;

&lt;P&gt;I would like to do that using TWO Time Pickers.&lt;/P&gt;

&lt;P&gt;How can i make it work. I can i uniquely identify a time picker?&lt;/P&gt;

&lt;P&gt;Anand&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 05:56:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50417#M12120</guid>
      <dc:creator>ma_anand1984</dc:creator>
      <dc:date>2013-05-30T05:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mutiple timepicker for same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50418#M12121</link>
      <description>&lt;P&gt;The only way I see would be to rewrite the keys from the first TimeRangePicker with a ValueSetter to avoid being overwritten by the second TimeRangePicker - I have no idea whether this will work or not though.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 07:50:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50418#M12121</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-05-30T07:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mutiple timepicker for same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50419#M12122</link>
      <description>&lt;P&gt;thank you. I thought of the same. I'm currently using a custom made pulldown&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 11:36:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50419#M12122</guid>
      <dc:creator>ma_anand1984</dc:creator>
      <dc:date>2013-05-30T11:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mutiple timepicker for same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50420#M12123</link>
      <description>&lt;P&gt;The ValueSetter trick should work.   In the below don't think of the $search.timeRange.earliest$  and $search.timeRange.latest$ keys as the actual keys that TimeRangePicker outputs, or you'll make some bad assumptions.   Instead think of them as a convenient second way that Sideview Utils gives you to &lt;EM&gt;get&lt;/EM&gt; the timerange arguments. Basically the two value setters use these keys to stash away the first timerange before it gets clobbered by the second timerange. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="TimeRangePicker"&amp;gt;
  &amp;lt;param name="allowSoftSubmit"&amp;gt;True&amp;lt;/param&amp;gt;
  &amp;lt;param name="default"&amp;gt;Last 7 days&amp;lt;/param&amp;gt;

  &amp;lt;module name="ValueSetter"&amp;gt;
    &amp;lt;param name="name"&amp;gt;stashedEarliest&amp;lt;/param&amp;gt;
    &amp;lt;param name="value"&amp;gt;$search.timeRange.earliest$&amp;lt;/param&amp;gt;

    &amp;lt;module name="ValueSetter"&amp;gt;
      &amp;lt;param name="name"&amp;gt;stashedLatest&amp;lt;/param&amp;gt;
      &amp;lt;param name="value"&amp;gt;$search.timeRange.latest$&amp;lt;/param&amp;gt;

      &amp;lt;module name="TimeRangePicker"&amp;gt;
        &amp;lt;param name="allowSoftSubmit"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;param name="default"&amp;gt;Last 24 hours&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would make sure you're on latest Sideview Utils though, because in the 100+ bugs and fixes between 1.3.X and 2.X I'm pretty sure there were some problems found and fixed around these timerange keys. &lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 16:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50420#M12123</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-05-30T16:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mutiple timepicker for same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50421#M12124</link>
      <description>&lt;P&gt;Thank you, do we really need to use two Valusetter module, i thought we can use two name value pairs in same module&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2013 03:26:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50421#M12124</guid>
      <dc:creator>ma_anand1984</dc:creator>
      <dc:date>2013-05-31T03:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mutiple timepicker for same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50422#M12125</link>
      <description>&lt;P&gt;Two param tags with the same name ("name", "value") would then overwrite each other.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2013 09:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50422#M12125</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-05-31T09:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mutiple timepicker for same search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50423#M12126</link>
      <description>&lt;P&gt;I'm afraid you do need two.  I've considered an alternate way of using ValueSetter, where you specify &lt;CODE&gt;&amp;lt;param name="arg.someName"&amp;gt;someValue&amp;lt;/param&amp;gt;&lt;/CODE&gt;.  This would only be an alternate way, not a replacement for the straight up name/value params.   However this is still only at the tinkering stage and other priorities have consistently risen higher in the queue.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2013 17:13:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mutiple-timepicker-for-same-search/m-p/50423#M12126</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-05-31T17:13:23Z</dc:date>
    </item>
  </channel>
</rss>

