hi
is it possible to add a count variable between ?
I want to display a variable count in this tag
<title>Perimeter : **xxx** machines</title>??
could you help me please??
Hi
You can specify inside div
<row depends="$show$">
<panel>
<html>
<div>
Perimeter: <b>$token$</b> machines
</div>
</html>
<table>
<search>
...
...
@jip31 is it for dashboard title or panel title. Panel titles allow you to use tokens. For dashboard title/description you would need a workaround. Refer to one of old answer of mine:
https://answers.splunk.com/answers/712013/how-do-you-display-the-date-in-a-dashboard-title.html
its for panel title
its for panel title...
Hi
You can specify inside div
<row depends="$show$">
<panel>
<html>
<div>
Perimeter: <b>$token$</b> machines
</div>
</html>
<table>
<search>
...
...
thanks
i tested with a token entry it works
but I would like to link the token value with a stats count
how to link the both please?
Try this
<dashboard>
<label>BG</label>
<row>
<panel>
<title>Total count: $count$</title>
<table>
<search>
<query>index="_internal" |stats count by host</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<done>
<set token="count">$result.count$</set>
</done>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
</dashboard>
thanks a lot