Hi Hesyar, as already explained on IRC, the GELF HTTP input currently doesn't support HTTP OPTIONS requests.
This will (most likely) be fixed in Graylog 2.2.0: https://github.com/Graylog2/graylog2-server/pull/3234 Cheers, Jochen On Thursday, 22 December 2016 11:38:52 UTC+1, Hesyar Uzuner wrote: > > I have an Angular2 webapp which should send logs directly to > http://example.tld:5555/gelf/. > This works properly with Postman, however if I try to call the same > request through the web application, I receive 405 - Method not allowed. I > checked the config file and web_enable_cors is set to true. Also > rest_enable_cors is set to true. > My Graylog lives in a docker container and my inputs listen to port 5555. > > -- 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/61d526ad-ee1b-4e81-bed6-6d9e9e0af6cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
