I am sending a log message to the api
POST http://192.168.0.9:9000/gelf HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/json; charset=utf-8
Host: 192.168.0.9:9000
Content-Length: 396
Connection: Keep-Alive
{
"facility": "RandomPhrases",
"file": "?",
"host": "DESKTOP-U6AFHCT",
"level": 6,
"line": "?",
"timestamp": "1486684392.85276",
"version": "1.0",
"LoggerName": "ConsoleApplication2.Program",
"full_message": "[7] Program - foo",
"short_message": "[7] Program - foo",
"_app": "RandomSentence",
"_version": "1.0",
"_Environment": "Dev",
"_Level": "INFO"
}
and the response back from the server
HTTP/1.1 404 Not Found
X-Graylog-Node-ID: 204cca32-be19-4980-b35a-bac6b102780f
Content-Type: application/json
Date: Thu, 09 Feb 2017 23:53:11 GMT
Content-Length: 50
{"type":"ApiError","message":"HTTP 404 Not Found"}
Please tell me what i am doing wrong? according to the docs the path is
correct (/gelf) and the server is listening as its otherwise responding..
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/1c5e7b74-df77-4ea2-839f-77083c98e82e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.