<?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 Using a different time picker on an inner query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-a-different-time-picker-on-an-inner-query/m-p/516037#M144935</link>
    <description>&lt;P&gt;I'm working on dashboard in which I would like to compare data across two different time periods.&amp;nbsp; (I posted a previous question here:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Compare-percentages-with-a-week-ago/m-p/513799#M144200" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Search/Compare-percentages-with-a-week-ago/m-p/513799#M144200&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I would like to have two time pickers on my dashboard.&amp;nbsp; The first would be for time period 1 and the second would be for time period 2.&amp;nbsp; I have much of this worked out conceptually ... but I don't see how to have the second time picker work for the inner query.&amp;nbsp; &amp;nbsp; In its simplest form it would look something like this:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;base query&amp;gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;| append [search &amp;lt;base query&amp;gt; $timePicker2$] &lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;| &amp;lt;collate data&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The question is how to make that timePicker2 actually work.&amp;nbsp; I have this working with just a dropdown that includes a handful of preset values like&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;earliest=-169h@h latest=-168h@h&lt;/STRONG&gt; to be "same hour last week"&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;but if i wanted to make it more flexible with a time picker, I don't understand how to make that work.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2020 14:13:43 GMT</pubDate>
    <dc:creator>ShagVT</dc:creator>
    <dc:date>2020-08-25T14:13:43Z</dc:date>
    <item>
      <title>Using a different time picker on an inner query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-a-different-time-picker-on-an-inner-query/m-p/516037#M144935</link>
      <description>&lt;P&gt;I'm working on dashboard in which I would like to compare data across two different time periods.&amp;nbsp; (I posted a previous question here:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Compare-percentages-with-a-week-ago/m-p/513799#M144200" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Search/Compare-percentages-with-a-week-ago/m-p/513799#M144200&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I would like to have two time pickers on my dashboard.&amp;nbsp; The first would be for time period 1 and the second would be for time period 2.&amp;nbsp; I have much of this worked out conceptually ... but I don't see how to have the second time picker work for the inner query.&amp;nbsp; &amp;nbsp; In its simplest form it would look something like this:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;base query&amp;gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;| append [search &amp;lt;base query&amp;gt; $timePicker2$] &lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;| &amp;lt;collate data&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The question is how to make that timePicker2 actually work.&amp;nbsp; I have this working with just a dropdown that includes a handful of preset values like&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;earliest=-169h@h latest=-168h@h&lt;/STRONG&gt; to be "same hour last week"&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;but if i wanted to make it more flexible with a time picker, I don't understand how to make that work.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 14:13:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-a-different-time-picker-on-an-inner-query/m-p/516037#M144935</guid>
      <dc:creator>ShagVT</dc:creator>
      <dc:date>2020-08-25T14:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different time picker on an inner query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-a-different-time-picker-on-an-inner-query/m-p/516048#M144939</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;did this help you?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-override-a-base-search-lt-earliest-gt-and-lt/td-p/505207" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-override-a-base-search-lt-earliest-gt-and-lt/td-p/505207&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 14:35:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-a-different-time-picker-on-an-inner-query/m-p/516048#M144939</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-25T14:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different time picker on an inner query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-a-different-time-picker-on-an-inner-query/m-p/516083#M144955</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;- thanks for the link.&amp;nbsp; I don't see how to make that work.&amp;nbsp; How would I connect the time picker only to the inner search?&amp;nbsp; In that example, it looks like there are two separate queries in which the entire query is driven by its own picker, so I think that is solving a different problem.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 16:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-a-different-time-picker-on-an-inner-query/m-p/516083#M144955</guid>
      <dc:creator>ShagVT</dc:creator>
      <dc:date>2020-08-25T16:58:51Z</dc:date>
    </item>
  </channel>
</rss>

