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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk Life | Splunk is Officially Part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint. Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...