Getting Data In

Http Collector Cloud Trial - 406 Not Acceptable

ee_admin
New Member

Hello,

I'm trying out the Splunk Http Event Collector but not able to make a request!

curl "https://myinstance123.cloud.splunk.com/services/collector" \
  -X POST \
  -d "{\"_json\":\"hello world\"}" \
  -H "Authorization: Splunk myToken" 

I'm getting this

<html>
<head><title>406 Not Acceptable</title></head>
<body bgcolor="white">
<center><h1>406 Not Acceptable</h1></center>
<hr><center>nginx/1.14.1</center>
</body>
</html>

I really need to test this not sure what to do. I can't disable the SSL from global setting as mentioned in docs. I also tried with 8088 port but not working.

Tags (1)
0 Karma

ee_admin
New Member

Note: before someone ask me to try with -k see the below result

C:\Users\ee_admin>curl -k https://myinstance123.cloud.splunk.com/services/collector -H 'Authorization: Splunk myToken' -d '{"event":"hello new event"}'
<html>
<head><title>406 Not Acceptable</title></head>
<body bgcolor="white">
<center><h1>406 Not Acceptable</h1></center>
<hr><center>nginx/1.14.1</center>
</body>
</html>
0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...