hi every one i try to refresh a specific panel, i follow the splunk answers but not work for me, i have a buton like this :
id="button_update" class="btn" data-set-token="run_check" data-value="true" style="background-color:#68E674;"
and search
<query>|test.csv | stats count</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
and javascript : require([ 'underscore', 'jquery', 'splunkjs/mvc', 'splunkjs/mvc/tableview', 'splunkjs/mvc/simplexml/ready!' ], function(_, $, mvc, TableView) {
$(document).ready(function () { $("button_update").on("click", function (e) { var mySearch = mvc.Components.get("toto"); mySearch.startSearch(); }); });
});
but the search never refresh someone can help me ?
... View more