Input http plugin and CORS


(CSchulz) #1

I have enabeld the input http plugin and added some headers for CORS. In general it works.

To be secure I have enabled also the authorization, but I am struggling with the OPTIONS request itself.
Normally the application does not send authorization headers during the OPTIONS request.

Is there any way to disable authorization check for OPTIONS request or what is the recommended way?

Furthermore I am wondering if the http plugin is the right way for using it with a productive client side application or are there better "protocolls" for transfering logs?


(B) #2

Sending logs can also be done with filebeat and you can then make some multiline treatments while on the initial server to make your centralized logstash less cpu intensive and more preformant.

You can also use other native logsystems like syslog

After that, you can also use log4j (deprecated) or tcp/udp capable sender (maybe flume can do the job). But it is not the most common way to do it and you will have to test it...


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.