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 !
Have you verified that you use a token with the API permission or a session token to use the API?