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!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

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

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...