Hi All,
I have a search that results in 2 fields, that I would like to use as a single value field in my dashboard, and access the second field as a token to be used in either the panel title, or the single value caption.
As an example - My search ends like
| stats count values(fileName) AS fileName
which results in;
count | fileName
31 | derek.txt
Is there a way to access the filename field as a token? I thought I may just be able to use $result.fileName$, but it appears not. I've also tried $result.fileName$ and then using that as my token in the title, but no joy.
To give you an idea, currently my XML looks like
<title>$result.fileName$</title>
<single>
<title></title>
<search>
<query>search .... | stats sum(processCount) AS Processed values(fileName) AS fileName</query>
</search>
<option name="colorBy">value</option>
<option name="colorMode">block</option>
<option name="drilldown">none</option>
<option name="numberPrecision">0</option>
<option name="showSparkline">1</option>
<option name="showTrendIndicator">1</option>
<option name="trendColorInterpretation">standard</option>
<option name="trendDisplayMode">absolute</option>
<option name="unitPosition">after</option>
<option name="useColors">1</option>
<option name="useThousandSeparators">1</option>
<option name="rangeColors">["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]</option>
<option name="rangeValues">[0,30,70,100]</option>
<option name="linkView">search</option>
<option name="underLabel">$fileName$</option>
</single>
</panel>
Any thoughts, appreciated.
Derek
... View more