<?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 How to use time input in another input search in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-time-input-in-another-input-search/m-p/363842#M66270</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a dashboard with 2 input - time and another field ('fieldA').&lt;BR /&gt;
'fieldA' is populated by a search, and it has his own time.&lt;BR /&gt;
How do I use the time input to the search that populates 'fieldA'?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Mon, 19 Mar 2018 15:34:11 GMT</pubDate>
    <dc:creator>matansocher</dc:creator>
    <dc:date>2018-03-19T15:34:11Z</dc:date>
    <item>
      <title>How to use time input in another input search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-time-input-in-another-input-search/m-p/363842#M66270</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a dashboard with 2 input - time and another field ('fieldA').&lt;BR /&gt;
'fieldA' is populated by a search, and it has his own time.&lt;BR /&gt;
How do I use the time input to the search that populates 'fieldA'?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:34:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-time-input-in-another-input-search/m-p/363842#M66270</guid>
      <dc:creator>matansocher</dc:creator>
      <dc:date>2018-03-19T15:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use time input in another input search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-time-input-in-another-input-search/m-p/363843#M66271</link>
      <description>&lt;P&gt;If you have a TimePicker input, you can use its token and pass it to your other input search. Check my example below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Time&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="time" token="timepicker"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="src"&amp;gt;
      &amp;lt;label&amp;gt;Sources&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;source&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;source&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| tstats count where index=_internal by source&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;$timepicker.earliest$&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;$timepicker.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:41:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-time-input-in-another-input-search/m-p/363843#M66271</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-19T15:41:35Z</dc:date>
    </item>
  </channel>
</rss>

