Hello ,
I am using splunk WebFramework to develop, and i got an problem with update splunk search Command by JS
Current Status :
i have seperate SearchManager and Search Command of that like below :
var searchCommand = "index IN (*) | sort -_time"
var searchManager = new SearchManager({
"id": "search",
"search": searchCommand,
"status_buckets": 0,
"cancelOnUnload": true,
"app": utils.getCurrentApp(),
"auto_cancel": 90,
"preview": true,
"earliest_time":"-240h@h",
"latest_time":"now" ,
"runWhenTimeIsUndefined": false
}, {
tokens: true,
tokenNamespace: "submitted"
});
now i need an button to trigger an event that update the searchCommand and re-search.
Is there anyway for me to do that ?
... View more