<?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 custom format a time token to be rendered in a label? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-custom-format-a-time-token-to-be-rendered-in-a-label/m-p/150803#M9175</link>
    <description>&lt;P&gt;I need the evaluated value - the title shows the string:   strptime("$click_time$","%m/%d/%Y")&lt;/P&gt;</description>
    <pubDate>Sun, 19 Apr 2015 15:11:12 GMT</pubDate>
    <dc:creator>nl65</dc:creator>
    <dc:date>2015-04-19T15:11:12Z</dc:date>
    <item>
      <title>How to custom format a time token to be rendered in a label?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-custom-format-a-time-token-to-be-rendered-in-a-label/m-p/150801#M9173</link>
      <description>&lt;P&gt;I have a panel that displays a timechart. &lt;/P&gt;

&lt;P&gt;Clicking a bar on the chart drills down to another dashboard passing the click.name as a parameter:   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown target="_blank"&amp;gt;
&amp;lt;link&amp;gt;
      &amp;lt;![CDATA[generaloverviewrange?clicked_time=$click.value$]]&amp;gt;
&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to generate a label for the new dashboard containing the selected time formatted as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;strptime("%m/%d/%Y",$click_time$)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How? &lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2015 13:48:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-custom-format-a-time-token-to-be-rendered-in-a-label/m-p/150801#M9173</guid>
      <dc:creator>nl65</dc:creator>
      <dc:date>2015-04-19T13:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to custom format a time token to be rendered in a label?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-custom-format-a-time-token-to-be-rendered-in-a-label/m-p/150802#M9174</link>
      <description>&lt;P&gt;Hi nl65, try this:&lt;/P&gt;

&lt;P&gt;strptime( "$click_time$", "%m/%d/%Y %H:%M:%S" )&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2015 14:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-custom-format-a-time-token-to-be-rendered-in-a-label/m-p/150802#M9174</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2015-04-19T14:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to custom format a time token to be rendered in a label?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-custom-format-a-time-token-to-be-rendered-in-a-label/m-p/150803#M9175</link>
      <description>&lt;P&gt;I need the evaluated value - the title shows the string:   strptime("$click_time$","%m/%d/%Y")&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2015 15:11:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-custom-format-a-time-token-to-be-rendered-in-a-label/m-p/150803#M9175</guid>
      <dc:creator>nl65</dc:creator>
      <dc:date>2015-04-19T15:11:12Z</dc:date>
    </item>
  </channel>
</rss>

