<?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 Can you help me pass earliest and latest time tokens to another panel in a dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386814#M25356</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the Begin time and End time as below for an event (which is again extracted using another query)&lt;/P&gt;

&lt;P&gt;Begin time : 4:43:55:336 AM&lt;BR /&gt;
End time : 4:53:00:00 AM&lt;/P&gt;

&lt;P&gt;I wanted to pass this earliest and latest time for another panel in the dashboard.&lt;/P&gt;

&lt;P&gt;Could you kindly help&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2019 13:23:11 GMT</pubDate>
    <dc:creator>Deepz2612</dc:creator>
    <dc:date>2019-04-01T13:23:11Z</dc:date>
    <item>
      <title>Can you help me pass earliest and latest time tokens to another panel in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386814#M25356</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the Begin time and End time as below for an event (which is again extracted using another query)&lt;/P&gt;

&lt;P&gt;Begin time : 4:43:55:336 AM&lt;BR /&gt;
End time : 4:53:00:00 AM&lt;/P&gt;

&lt;P&gt;I wanted to pass this earliest and latest time for another panel in the dashboard.&lt;/P&gt;

&lt;P&gt;Could you kindly help&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 13:23:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386814#M25356</guid>
      <dc:creator>Deepz2612</dc:creator>
      <dc:date>2019-04-01T13:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me pass earliest and latest time tokens to another panel in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386815#M25357</link>
      <description>&lt;P&gt;@Deepz2612 &lt;BR /&gt;
You have the Begin time and End time!! But what date you want to consider ?? Current date? &lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 13:28:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386815#M25357</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-04-01T13:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me pass earliest and latest time tokens to another panel in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386816#M25358</link>
      <description>&lt;P&gt;@Deepz2612 &lt;BR /&gt;
You have the Begin time and End time!! But what date you want to consider ?? Current date? &lt;/P&gt;

&lt;P&gt;In case of the current date, you can update your another search with below search logic to get &lt;CODE&gt;Begin_time&lt;/CODE&gt; and &lt;CODE&gt;End_time&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval date=strftime(now(),"%Y-%m-%d") 
| eval Begin_time=strptime(date." 4:43:55:336 AM","%Y-%m-%d %H:%M:%S:%3Q")
| eval End_time=strptime(date." 4:53:00:00 AM","%Y-%m-%d %H:%M:%S:%3Q")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here I have used your provided static value as &lt;CODE&gt;Begin_time&lt;/CODE&gt; and &lt;CODE&gt;End_time&lt;/CODE&gt;. You can use your filed name also.&lt;BR /&gt;
In the &lt;CODE&gt;date&lt;/CODE&gt; field you can mention your required date as well.&lt;/P&gt;

&lt;P&gt;[UPDATED]&lt;/P&gt;

&lt;P&gt;Consider below search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval Begin_time=strptime("04/01/2019 4:43:55:336 AM","%d/%m/%Y %H:%M:%S:%3Q")
| eval End_time=strptime("04/01/2019 4:53:00:00 AM","%d/%m/%Y %H:%M:%S:%3Q")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 13:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386816#M25358</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-04-01T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me pass earliest and latest time tokens to another panel in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386817#M25359</link>
      <description>&lt;P&gt;I'm sorry..&lt;BR /&gt;
Begin time and End time will have the date as well. I missed to add it.&lt;BR /&gt;
Begin time : 04/01/2019 4:43:55:336 AM&lt;BR /&gt;
End time : 04/01/2019 4:53:00:00 AM&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 13:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386817#M25359</guid>
      <dc:creator>Deepz2612</dc:creator>
      <dc:date>2019-04-01T13:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me pass earliest and latest time tokens to another panel in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386818#M25360</link>
      <description>&lt;P&gt;@Deepz2612&lt;/P&gt;

&lt;P&gt;I have updated my answer. Please check it.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 13:48:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-you-help-me-pass-earliest-and-latest-time-tokens-to-another/m-p/386818#M25360</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-04-01T13:48:59Z</dc:date>
    </item>
  </channel>
</rss>

