<?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 show earliest and latest time on dashboard panel title which is same as time select? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599223#M49150</link>
    <description>&lt;P&gt;You could use addinfo to get the info_min_time (earliest) and info_max_time (latest) in your search and create tokens in a done handler from the result of the search.&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 06:40:24 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-05-25T06:40:24Z</dc:date>
    <item>
      <title>How to show earliest and latest time on dashboard panel title which is same as time select?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599167#M49136</link>
      <description>&lt;P&gt;I want to show the time range of that panel that a dashboard has ran from the time select drop -down.For instance , if I select last 90 mins&amp;nbsp; at 1PM from time select the dashboard panel should show the time like&amp;nbsp; earliest_time= 11:30:00 AM to Latest_Time:13:00:00 .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried using&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;$field2.earliest$ To Latest_Time: $field2.latest$ but the output is showing as below&lt;/P&gt;
&lt;H3&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Earliest_Time: -90m@m To Latest_Time: now&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:24:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599167#M49136</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2022-05-24T20:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to show earliest and latest time on dashboard panel title which is same as time select?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599171#M49137</link>
      <description>&lt;P&gt;It's not clear where in the dashboard the tokens are used, but you may be able to use &lt;FONT face="courier new,courier"&gt;strftime()&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;relative_time()&lt;/FONT&gt; to convert tokens to better text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eval start=strftime(relative_time(now(),$field2.earliest|s$), "%c"), 
eval end=strftime(relative_time(now(),$field2.latest|s$), "%c")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599171#M49137</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-24T20:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to show earliest and latest time on dashboard panel title which is same as time select?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599191#M49143</link>
      <description>&lt;P&gt;Sorry for not explaining correctly ..I want the time to be displayed on the&amp;nbsp; panel title of a dashboard.It should show the earliest and latest time of the time select which was selected from dropdown.&lt;/P&gt;&lt;P&gt;Assuming if the time is 1 PM now and I select last 90 mins from timeselect&amp;nbsp; dropdown for the dashboard it should show like below&lt;/P&gt;&lt;P&gt;The panel time range is : earliest_time= 11:30:00 AM to Latest_Time:13:00:00 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;$field2.earliest$ To Latest_Time: $field2.latest$ but the output is showing as below&lt;/P&gt;&lt;H3&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Earliest_Time: -90m@m To Latest_Time: now&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 01:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599191#M49143</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2022-05-25T01:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to show earliest and latest time on dashboard panel title which is same as time select?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599219#M49149</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/120532"&gt;@vrmandadi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you could use addinfo command to extract the time borders of your search and then display them in a search, somethinh like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| addinfo
| eval info_min_time=strftime(info_min_time,"%Y-%m-%d %H:%M:%S"), info_max_time=strftime(info_max_time,"%Y-%m-%d %H:%M:%S")
| table info_min_time info_max_time&lt;/LI-CODE&gt;&lt;P&gt;and then display one value in a Single Value Panel.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 06:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599219#M49149</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-25T06:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to show earliest and latest time on dashboard panel title which is same as time select?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599223#M49150</link>
      <description>&lt;P&gt;You could use addinfo to get the info_min_time (earliest) and info_max_time (latest) in your search and create tokens in a done handler from the result of the search.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 06:40:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599223#M49150</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-25T06:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to show earliest and latest time on dashboard panel title which is same as time select?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599295#M49156</link>
      <description>&lt;P&gt;How to pass the tokens in done handler...I am not sure how it can be done&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 13:46:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599295#M49156</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2022-05-25T13:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to show earliest and latest time on dashboard panel title which is same as time select?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599302#M49157</link>
      <description>&lt;P&gt;As part of the search for the panel, add a done handler - note that the result field you want must be in the first row of the results - also note that if you use field names with a leading underscore, they won't show up in your table but should be available to the done handler&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;/query&amp;gt;
    &amp;lt;done&amp;gt;
      &amp;lt;eval token="tokenname"&amp;gt;$result._fieldname$&amp;lt;/eval&amp;gt;
    &amp;lt;/done&amp;gt;
  &amp;lt;/search&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 14:32:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/599302#M49157</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-25T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to show earliest and latest time on dashboard panel title which is same as time select?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/600010#M49246</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/120532"&gt;@vrmandadi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the Contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 06:19:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-show-earliest-and-latest-time-on-dashboard-panel-title/m-p/600010#M49246</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-01T06:19:39Z</dc:date>
    </item>
  </channel>
</rss>

