Getting Data In

Getting Data from Splunk Observability into Splunk cloud

Nassima
Loves-to-Learn

Hello all ! 

I need to get data from Splunk Observability (list of synthetics tests) into Splunk cloud.

I have tried to use this observability API : 

curl -X GET "https://api.{REALM}.signalfx.com/v2/synthetics/tests" \
-H "Content-Type: application/json" \
-H "X-SF-TOKEN: <value>" 

Then, I attempted to execute a cURL query in Splunk Cloud like this :
| curl method=get uri=https://api.xxx.signalfx.com/v2/synthetics/tests?Content-Type=application/json&X-SF-TOKEN=xxxxxxxxxx... | table curl*

but i am getting the following error : HTTP ERROR 401 Unauthorized.

Thanks for any help !

 

 

0 Karma

PaulPanther
Motivator

Have you verified that you use a token with the API permission or a session token to use the API?

0 Karma
Get Updates on the Splunk Community!

Bridging the Gap: Splunk Helps Students Move from Classroom to Career

The Splunk Community is a powerful network of users, educators, and organizations working together to tackle ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...