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.
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>