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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...