All Apps and Add-ons

Web Tools Add-On | Restarting a Forwarder

cboillot
Contributor

When using cURL, I can run
curl -k -u admin:changeme https://localhost:8089/services/server/control/restart -X POST
With no issues, but when I bring this into Splunk using
| curl method=post uri=https://localhost:8089/services/server/control/restart user=admin pass=changeme
I get the following error
<?xml version="1.0" encoding="UTF-8"?> <response> <messages> <msg type="ERROR">Invalid request, restart requires POST (handler: server-control, action:restart, eai action: list).</msg> </messages> </response>
Any thoughts or ideas how I can get this to work?

0 Karma

jkat54
SplunkTrust
SplunkTrust

Please download the latest release of the app. This bug has been resolved.

0 Karma

jkat54
SplunkTrust
SplunkTrust

There’s a bug in the latest version that breaks non-splunk auth connections. So I’d recommend downgrading for now until I can release a bug fix.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...