I configured HTTP Event Collector and am trying to test it with:
curl -k https://localhost:8088/services/collector/event -H "Authorization: Splunk 8111111111111*" -d '{"event": "hello world"}'
error: {"text"."Invalid token","code"4}
I also tried:
curl -k http://localhost:8088/services/collector/event -H "Authorization: Splunk 8111111111111*" -d "{\"event\":\"hello world\"}"
and I get response `curl: (52) Empty reply from server`
Running Windows Server 2012 R2
Why is this not working?
↧