<?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: Single value with trend for duration? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354316#M104889</link>
    <description>&lt;P&gt;On similar lines to above Single value expects the trend also to be numeric. So you will need a workaround for that too. However, it is a bit complicated.&lt;/P&gt;

&lt;P&gt;Since trend is based on a &lt;CODE&gt;Compared To&lt;/CODE&gt; value, which is by default &lt;CODE&gt;auto&lt;/CODE&gt;. Implying compare &lt;CODE&gt;last value&lt;/CODE&gt; with &lt;CODE&gt;second last value&lt;/CODE&gt; to get the trend. If you are not changing that you can use the following approach:&lt;/P&gt;

&lt;P&gt;1) Make your Single Value Search query as Base Search &lt;CODE&gt;id="baseSearch"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;2) Post process another search to get only last two results from base search timechart results and then pick 2nd last using &lt;CODE&gt;| tail 2 | head 1&lt;/CODE&gt;. PS: This is where change might be required if you are not comparing last result with 2nd last for trending. Also I have handled NULL data with fillnull in base search. However, you should consider handling no results scenario by defaulting the token &lt;CODE&gt;tokTrendDiff&lt;/CODE&gt; to &lt;CODE&gt;00:00:00&lt;/CODE&gt; or else it ill remain unset.&lt;/P&gt;

&lt;P&gt;3) Hide Delta value in Trend using CSS selector &lt;CODE&gt;#single1 .single-value-delta .delta-label&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;4) Add &lt;CODE&gt;tokTrendDiff&lt;/CODE&gt; to Single Value Simple XML configuration &lt;CODE&gt;underLabel&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;5) Change the alignment of Single Value Result and Delta Value Trend through CSS &lt;CODE&gt;transform&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Please find the updated result:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://wiki.splunk.com/images/4/47/Single_Value_Duration_and_Trend_as_HH_MM_SS.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Refer to the complete run anywhere dashboard example below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Duration as HH:MM:SS in Single Value as Result and Trend&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html depends="$alwaysHideCSS$"&amp;gt;
        &amp;lt;style&amp;gt;
          #single1 .single-result, #single1 .single-value-delta .delta-label{
            visibility:hidden;
          }
          #single1 .under-label{
            font-size: 200% !important;
            font-weight: bold !important;
            transform: translate(-20px,-20px);
            fill:#333333 !important; 
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;search base="baseSearch"&amp;gt;
        &amp;lt;query&amp;gt;
          | tail 2
          | head 1
        &amp;lt;/query&amp;gt;
        &amp;lt;done&amp;gt;
          &amp;lt;eval token="tokTrendDiff"&amp;gt;tostring($result.TotalCD$,"duration")&amp;lt;/eval&amp;gt; 
        &amp;lt;/done&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;single id="single1"&amp;gt;
        &amp;lt;search id="baseSearch"&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!="INFO"
| timechart avg(date_second) as "TotalCD"
| fillnull value=0 TotalCD
| eval TotalCD=round(TotalCD,0)&amp;lt;/query&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;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;eval token="tokDuration"&amp;gt;tostring($result.TotalCD$,"duration")&amp;lt;/eval&amp;gt;
          &amp;lt;/done&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;value&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,30,70,100]&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="underLabel"&amp;gt;$tokDuration$ ( $tokTrendDiff$ )&amp;lt;/option&amp;gt;
        &amp;lt;option name="unitPosition"&amp;gt;after&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Nov 2017 18:02:25 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-11-08T18:02:25Z</dc:date>
    <item>
      <title>Single value with trend for duration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354312#M104885</link>
      <description>&lt;P&gt;I have been searching about this for the last couple of days. I don't think Splunk have this feature but I just want to make sure if I was right. So I have this search:&lt;/P&gt;

&lt;P&gt;index="monthlycdr" | eval "Call Duration"=replace('Call Duration',"\"","") | convert dur2sec("Call Duration") as "Call Duration" | timechart span="1mon" avg("Call Duration") as "TotalCD"&lt;/P&gt;

&lt;P&gt;Which give me this result: &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3816iC5E350FF8D126EC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt; &lt;BR /&gt;
But when I covert my search to 00:00:00 format it doesn't show the trend. Here is the new search: &lt;/P&gt;

&lt;P&gt;index="monthlycdr" | eval "Call Duration"=replace('Call Duration',"\"","") | convert dur2sec("Call Duration") as "Call Duration" | timechart avg("Call Duration") as "TotalCD"&lt;BR /&gt;
|  eval "TotalCD"=tostring($TotalCD$,"duration") |  eval TotalCD=replace(TotalCD,"(\d+):(\d+):(\d+).(\d+)","\1:\2:\3")&lt;/P&gt;

&lt;P&gt;Which give me this result:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3817i466EFE07DD77628D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I want the second search to have trend just like the first search. But I believe I can not do this due to a string conversion. Am I right that Splunk wont be able to do this, at least for now?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 16:43:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354312#M104885</guid>
      <dc:creator>tamduong16</dc:creator>
      <dc:date>2017-11-07T16:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend for duration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354313#M104886</link>
      <description>&lt;P&gt;I'm not sure if this will work, but have you tried using &lt;CODE&gt;fieldformat&lt;/CODE&gt; to format the display value instead of applying a straight &lt;CODE&gt;eval&lt;/CODE&gt; to it? Here's some info on &lt;CODE&gt;fieldformat&lt;/CODE&gt;:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/SearchReference/Fieldformat"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/SearchReference/Fieldformat&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 17:10:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354313#M104886</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2017-11-07T17:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend for duration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354314#M104887</link>
      <description>&lt;P&gt;@tamduong16, you are right about Single Value result that it has to be numeric in order to be able to show the &lt;CODE&gt;sparkline&lt;/CODE&gt; and &lt;CODE&gt;trend&lt;/CODE&gt;. So, in order to tackle the scenario there could be following round-about approach:&lt;BR /&gt;
PS: In order to demo I have used run anywhere search example from Splunk's &lt;CODE&gt;_internal&lt;/CODE&gt; index with date_second field to mimic duration(actually it is not, so ignore the data interpretation ;)).&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 1&lt;/STRONG&gt;) Create single value trend-indicator with your existing timechart command with &lt;CODE&gt;avg()&lt;/CODE&gt; of duration. Use &lt;CODE&gt;round(TotalCD,0)&lt;/CODE&gt; to round off seconds.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 2&lt;/STRONG&gt;)  Set the token &lt;CODE&gt;tokDuration&lt;/CODE&gt; as string duration i.e. &lt;CODE&gt;HH:MM:SS&lt;/CODE&gt; inside &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; Search Event Handler.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;          &amp;lt;done&amp;gt;
            &amp;lt;eval token="tokDuration"&amp;gt;tostring($result.TotalCD$,"duration")&amp;lt;/eval&amp;gt;
          &amp;lt;/done&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Step 3&lt;/STRONG&gt;) Use the token &lt;CODE&gt;tokDuration&lt;/CODE&gt; as underLabel using Single Value Simple XML Chart configuration option i.e.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="underLabel"&amp;gt;$tokDuration$&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: This step will give you numerical seconds as Single Value Result and string duration in HH:MM:SS as Single Value Under Label. If this suffices your needs you would not require next step for CSS override. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 4&lt;/STRONG&gt;) Use CSS to &lt;CODE&gt;hide numeric duration&lt;/CODE&gt; which is the Single value result. Apply CSS to Single Value Under Label to change its font size, weight, color etc. Use translate to shift Under Label to the position of Single Value Result. (this might take some hit and trial with actual position in your dashboard).&lt;BR /&gt;
PS: We have created single value with &lt;CODE&gt;&amp;lt;single id="single1"&amp;gt;&lt;/CODE&gt; to apply CSS override only to one single value not all. The Single Value id and CSS Selector would need to be changed as per Use Case. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;html depends="$alwaysHideCSS$"&amp;gt;
        &amp;lt;style&amp;gt;
          #single1 .single-result{
            visibility:hidden;
          }
          #single1 .under-label{
            font-size: 200% !important;
            font-weight: bold !important;
            transform: translate(-40px,-30px);
            fill:#333333 !important; 
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3815iDA34922C486C3459/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Following is the complete run anywhere dashboard example code for testing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Duration as HH:MM:SS in Single Value&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html depends="$alwaysHideCSS$"&amp;gt;
        &amp;lt;style&amp;gt;
          #single1 .single-result{
            visibility:hidden;
          }
          #single1 .under-label{
            font-size: 200% !important;
            font-weight: bold !important;
            transform: translate(-40px,-30px);
            fill:#333333 !important; 
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;single id="single1"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!="INFO"
| timechart avg(date_second) as "TotalCD"
| eval TotalCD=round(TotalCD,0)&amp;lt;/query&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;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;eval token="tokDuration"&amp;gt;tostring($result.TotalCD$,"duration")&amp;lt;/eval&amp;gt;
          &amp;lt;/done&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;value&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,30,70,100]&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="underLabel"&amp;gt;$tokDuration$&amp;lt;/option&amp;gt;
        &amp;lt;option name="unitPosition"&amp;gt;after&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Nov 2017 17:58:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354314#M104887</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-07T17:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend for duration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354315#M104888</link>
      <description>&lt;P&gt;@niketnilay, Thanks for the answer it works great. Is there anyway I could get the trend number to be in the hh:mm:ss as well?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 16:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354315#M104888</guid>
      <dc:creator>tamduong16</dc:creator>
      <dc:date>2017-11-08T16:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Single value with trend for duration?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354316#M104889</link>
      <description>&lt;P&gt;On similar lines to above Single value expects the trend also to be numeric. So you will need a workaround for that too. However, it is a bit complicated.&lt;/P&gt;

&lt;P&gt;Since trend is based on a &lt;CODE&gt;Compared To&lt;/CODE&gt; value, which is by default &lt;CODE&gt;auto&lt;/CODE&gt;. Implying compare &lt;CODE&gt;last value&lt;/CODE&gt; with &lt;CODE&gt;second last value&lt;/CODE&gt; to get the trend. If you are not changing that you can use the following approach:&lt;/P&gt;

&lt;P&gt;1) Make your Single Value Search query as Base Search &lt;CODE&gt;id="baseSearch"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;2) Post process another search to get only last two results from base search timechart results and then pick 2nd last using &lt;CODE&gt;| tail 2 | head 1&lt;/CODE&gt;. PS: This is where change might be required if you are not comparing last result with 2nd last for trending. Also I have handled NULL data with fillnull in base search. However, you should consider handling no results scenario by defaulting the token &lt;CODE&gt;tokTrendDiff&lt;/CODE&gt; to &lt;CODE&gt;00:00:00&lt;/CODE&gt; or else it ill remain unset.&lt;/P&gt;

&lt;P&gt;3) Hide Delta value in Trend using CSS selector &lt;CODE&gt;#single1 .single-value-delta .delta-label&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;4) Add &lt;CODE&gt;tokTrendDiff&lt;/CODE&gt; to Single Value Simple XML configuration &lt;CODE&gt;underLabel&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;5) Change the alignment of Single Value Result and Delta Value Trend through CSS &lt;CODE&gt;transform&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Please find the updated result:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://wiki.splunk.com/images/4/47/Single_Value_Duration_and_Trend_as_HH_MM_SS.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Refer to the complete run anywhere dashboard example below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Duration as HH:MM:SS in Single Value as Result and Trend&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html depends="$alwaysHideCSS$"&amp;gt;
        &amp;lt;style&amp;gt;
          #single1 .single-result, #single1 .single-value-delta .delta-label{
            visibility:hidden;
          }
          #single1 .under-label{
            font-size: 200% !important;
            font-weight: bold !important;
            transform: translate(-20px,-20px);
            fill:#333333 !important; 
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;search base="baseSearch"&amp;gt;
        &amp;lt;query&amp;gt;
          | tail 2
          | head 1
        &amp;lt;/query&amp;gt;
        &amp;lt;done&amp;gt;
          &amp;lt;eval token="tokTrendDiff"&amp;gt;tostring($result.TotalCD$,"duration")&amp;lt;/eval&amp;gt; 
        &amp;lt;/done&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;single id="single1"&amp;gt;
        &amp;lt;search id="baseSearch"&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!="INFO"
| timechart avg(date_second) as "TotalCD"
| fillnull value=0 TotalCD
| eval TotalCD=round(TotalCD,0)&amp;lt;/query&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;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;eval token="tokDuration"&amp;gt;tostring($result.TotalCD$,"duration")&amp;lt;/eval&amp;gt;
          &amp;lt;/done&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;value&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,30,70,100]&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="underLabel"&amp;gt;$tokDuration$ ( $tokTrendDiff$ )&amp;lt;/option&amp;gt;
        &amp;lt;option name="unitPosition"&amp;gt;after&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Nov 2017 18:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-with-trend-for-duration/m-p/354316#M104889</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-08T18:02:25Z</dc:date>
    </item>
  </channel>
</rss>

