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!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...