Splunk Dev

Splunk Cloud REST API

alucaferro
Engager

I have a Splunk Cloud (trial) version and I'm exploring this service.

How can I enable REST API service for testing?

What is the endpoint for REST API?

Tags (1)

khourihan_splun
Splunk Employee
Splunk Employee

Its there, put a input- in front of your hostname. and its listening on 8089.

example:

$ curl -k -u kyle:password https://input-prd-p-lbtde337wtp8.cloud.splunk.com:8089/servicesNS/admin/search/data/indexes -d name=test123
0 Karma

grokify
Explorer

I just confirmed that the Cloud Trial edition does not support the REST API in this post: https://answers.splunk.com/answers/665067/401-unauthorized-rest-api-splunk-cloud-trial.html

0 Karma

grokify
Explorer

Does this still work? I get a timeout error when I try this on my trial.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...