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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...