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 !

 

 

Labels (1)
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!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

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

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...