Hi,
I have a basic HTML dashboard with 1 panel. My search (search1) returns 1 value. I want to represent this search with a filler gauge + a single value and an image.
![alt text][1]
[1]: /storage/temp/137204-sans-titre.png
I can show the search value in the header (panel-head), but in the body, it doesn't work.
Below is my HTML code :
And the JS :
var singleresult=splunkjs.mvc.Components.get("search1");
singleresult.data("results").on("data", function(results) {
var bras = results._data['rows'][0][0];
setToken("bras",bras);
});
$bras$
$bras$