We have Windows servers blocked for executing batch scripts.
So, how do I run the below Splunk CLI command scheduled everyday on universal forwarders and index that data?
Splunk btool inputs list --debug
I thought to create a scripted input and use the .path file to run the command, but it is not working.
inputs.conf
[script://.\bin\xyz.path]
And create a path file xyz.path under bin directory of the app.
xyz.path contails below line
$SPLUNK_HOME\bin\splunk btool inputs list --debug
Is there any other way to do it on UF's
Check this Splunk answer, and it seems the same question has been repeated here..