<?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: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130969#M10751</link>
    <description>&lt;P&gt;Hi Norling, give me a chance to get on my instance as we've done this before, I'll get back to you shortly&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2015 07:45:09 GMT</pubDate>
    <dc:creator>markthompson</dc:creator>
    <dc:date>2015-04-08T07:45:09Z</dc:date>
    <item>
      <title>Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130965#M10747</link>
      <description>&lt;P&gt;Hi guys. When using the Single Value Decorations (extension available in the Splunk 6.x Dashboard Examples) is it possible to show the timestamp next to the decoration instead of the value for when the last event occurred, my XML and search looks like this: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        &amp;lt;searchString&amp;gt; "my base search" | stats count | rangemap field=value none=0-99 low=100-199 guarded=200-299  
        elevated=300-399 high=400-499 severe=500-599 default=none&amp;lt;/searchString&amp;gt;
        &amp;lt;earliestTime&amp;gt;-15m&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
        &amp;lt;option name="classField"&amp;gt;range&amp;lt;/option&amp;gt;
        &amp;lt;option name="field"&amp;gt;value&amp;lt;/option
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:23:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130965#M10747</guid>
      <dc:creator>Norling80</dc:creator>
      <dc:date>2015-04-08T07:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130966#M10748</link>
      <description>&lt;P&gt;Yep.&lt;/P&gt;

&lt;P&gt;Change &lt;CODE&gt;value&lt;/CODE&gt; to &lt;CODE&gt;_time&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130966#M10748</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-04-08T07:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130967#M10749</link>
      <description>&lt;P&gt;Thanks Mark. I actually tried that and also experimented around the last(_time) command without any success. so that does not change anything. It still shows the amount of events returned by stats count. &lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130967#M10749</guid>
      <dc:creator>Norling80</dc:creator>
      <dc:date>2015-04-08T07:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130968#M10750</link>
      <description>&lt;P&gt;Hi  Norling80 &lt;/P&gt;

&lt;P&gt;use &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;earliestTime&amp;gt;-15m@m&amp;lt;/earliestTime&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;instead of &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;earliestTime&amp;gt;-15m&amp;lt;/earliestTime&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and retry&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:44:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130968#M10750</guid>
      <dc:creator>chimell</dc:creator>
      <dc:date>2015-04-08T07:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130969#M10751</link>
      <description>&lt;P&gt;Hi Norling, give me a chance to get on my instance as we've done this before, I'll get back to you shortly&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:45:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130969#M10751</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-04-08T07:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130970#M10752</link>
      <description>&lt;P&gt;@Norling80 - Have you changed the rangemap?  Splunk uses the rangemap field as a judgement. &lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:54:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130970#M10752</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-04-08T07:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130971#M10753</link>
      <description>&lt;P&gt;Hi Norling,&lt;BR /&gt;
Try this;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;searchString&amp;gt; "my base search" | stats count | table _time value | rangemap field=value none=0-99 low=100-199 guarded=200-299  
         elevated=300-399 high=400-499 severe=500-599 default=none&amp;lt;/searchString&amp;gt;
         &amp;lt;earliestTime&amp;gt;-15m&amp;lt;/earliestTime&amp;gt;
         &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
         &amp;lt;option name="classField"&amp;gt;range&amp;lt;/option&amp;gt;
         &amp;lt;option name="field"&amp;gt;value&amp;lt;/option
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Apr 2015 08:47:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130971#M10753</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-04-08T08:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130972#M10754</link>
      <description>&lt;P&gt;Here is my help. just test the example bellow. just know that concerning the time, you can only set hours, or minutes, or seconds, or days, ....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard stylesheet="single_decorations.css"&amp;gt;
    &amp;lt;label&amp;gt;Single Value Decorations&amp;lt;/label&amp;gt;
    &amp;lt;description&amp;gt;
        This example shows decorations for the single value visualization using some custom CSS. The icon are displayed using the Splunk Icon Font.
    &amp;lt;/description&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;single&amp;gt;
          &amp;lt;searchString&amp;gt;index=_internal| stats count as value by date_hour | eval date_hour = 8 | rangemap field=date_hour none=0-5 low=6-10 guarded=10-15&amp;lt;/searchString&amp;gt;
            &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
            &amp;lt;option name="classField"&amp;gt;range&amp;lt;/option&amp;gt;
            &amp;lt;option name="field"&amp;gt;date_hour&amp;lt;/option&amp;gt;
        &amp;lt;/single&amp;gt;
        &amp;lt;single&amp;gt;
            &amp;lt;searchString&amp;gt;index=_internal|eval time=strftime(_time, "%H")| stats count as value by time| eval time =09| rangemap field=time none=0-5 low=6-10  guarded=11-20 default=none &amp;lt;/searchString&amp;gt;
            &amp;lt;earliestTime&amp;gt;-1d&amp;lt;/earliestTime&amp;gt;
            &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
            &amp;lt;option name="classField"&amp;gt;range&amp;lt;/option&amp;gt;
            &amp;lt;option name="field"&amp;gt;time&amp;lt;/option&amp;gt;
        &amp;lt;/single&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Apr 2015 09:26:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130972#M10754</guid>
      <dc:creator>stephanefotso</dc:creator>
      <dc:date>2015-04-08T09:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130973#M10755</link>
      <description>&lt;P&gt;Thanks for the swift assistance guys, looks like it´s not possible to get the entire timestamp which is the only thing i´m interested in &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;Any other good ideas on how to solve this? &lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 13:05:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130973#M10755</guid>
      <dc:creator>Norling80</dc:creator>
      <dc:date>2015-04-08T13:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.x Dashboard Examples: When using Single Value Decorations, is it possible to show the timestamp instead of the value for when the last event occurred?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130974#M10756</link>
      <description>&lt;P&gt;Hi Norling,&lt;BR /&gt;
Which answer are you trying to use?  if you're using @stephanefotso 's answer, change &lt;CODE&gt;eval time=strftime(_time, "%H")&lt;/CODE&gt; to &lt;CODE&gt;eval time=strftime(_time, "%d/%m/%Y %H:%M:%S")&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 13:23:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-6-x-Dashboard-Examples-When-using-Single-Value/m-p/130974#M10756</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-04-08T13:23:30Z</dc:date>
    </item>
  </channel>
</rss>

