hi! for my dashboard, I want to add a duration timer using a python script. is it possible to do this in splunk? thank you so much!
You can put custom javascript which does service request every time the interval runs out. The service can be a custom endpoint which runs your python script.
var service = mvc.createService();
service.get('/services/custom_endpoint', params, function (err, response) {
if (!err) {
// do something
}
});
thank you so much! I will try this!
@mdmaala, you can check out script command that you can execute through SPL. The documentation also has link to creation of a custom search command using python and other language.
I'll check on this. thank you so much @niketnilay !