When I run `splunk cmd`, I can execute any external system command using Splunk's context.
I want to combine that with the `-uri` parameter to be able to send remote commands to Universal Forwarders.
However the `cmd` engine treats `-uri` as a part of the command itself, for example:
`splunk cmd dir -uri https://uf_hostname:8089`
`dir: cannot access https\://uf_hostname\:8089: No such file or directory`
How can I send the command to a remote Splunk instance?
↧