I'm trying to create an outbound port on our splunk cloud instance without any luck.
curl -X POST 'https://admin.splunk.com/important-iguana-u5q/adminconfig/v2/access/outbound-ports' \
--header 'Authorization: Bearer eyJraWQiOiJzcGx1bmsuc2VjcmV0IiwiYWxnI...' \
--header 'Content-Type: application/json' \
--data-raw '{
"outboundPorts": [{"subnets": ["34.226.34.80/32", "54.226.34.80/32"], "port": 8089}],
"reason": "testing federated search connection"
}'
following the documentation I receive error
I've also try to import the curl under postman ma also there same answer ...
Could anyone face same issue
kr
Sandro
@dhruv , this is the status
Hey @hal2004 ,
You need to replace "important-iguana-u5q" with your Splunk Cloud Stack ID.
i.e. If your Splunk Cloud URL is https://abc.splunkcloud.com then use "abc" as your Stack ID.
ciao @dhruv , thanks for your answer
yes, I've pasted the example of the documentation but I ran it with the correct stack name and correct token but it doesn't work anyway.
@hal2004 , The error that you have mentioned indicates that the stack name is not right.
Can you try to curl below URL to get the status of your stack :
https://admin.splunk.com/{stack}/adminconfig/v2/status