Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Http Event Collector CURL errors with {"text":"Invalid token","code":4} or "Empty reply from server" using Windows

$
0
0
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?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>