You can stream data to Splunk using the REST API endpoint /services/receivers/stream
- see http://docs.splunk.com/Documentation/Splunk/6.1.1/RESTAPI/RESTinput#receivers.2Fstream for reference.
You can stream data to Splunk using the REST API endpoint /services/receivers/stream
- see http://docs.splunk.com/Documentation/Splunk/6.1.1/RESTAPI/RESTinput#receivers.2Fstream for reference.
Hello i tried using the same, but i don't know where i am doing the mistake, and when the client is trying to send data from their server, it says following error.
~$ curl -kv -H "Accept: application/json" "https://localhost:8089/services/receivers/simple"
* getaddrinfo(3) failed for localhost:8089
* Couldn't resolve host 'localhost'
* Closing connection #0
curl: (6) Couldn't resolve host 'localhost'
Any idea what is happening here..?
***our server changed to localhost