logstash-plugins / logstash-output-gelf

Apache License 2.0
15 stars 18 forks source link

Add TCP Support #1

Closed talevy closed 6 years ago

talevy commented 9 years ago

migrated from: https://logstash.jira.com/browse/LOGSTASH-780

Graylog 0.10 starts supporting TCP transport for gelf. Since this enables safer transport than UDP, I suggest extending the gelf input/output with a TCP option.

florian-asche commented 8 years ago

+1

Gelf-rb starts support of gelf tcp. Please suggest extending!

runningman84 commented 8 years ago

this looks like a simple change:

# old
# @gelf ||= GELF::Notifier.new(@host, @port, @chunksize)
# new
@gelf ||= GELF::Notifier.new(@host, @port, "LAN", { :protocol => GELF::Protocol::TCP })
rcord02 commented 8 years ago

+1 would be awesome if this will be availible in the next release!

danlsgiga commented 8 years ago

+1... This is a must for our environment. Please bring this new feature in the next release. Also, @runningman84 I've tested the simple change you suggested but it does not work.

danlsgiga commented 8 years ago

FYI... https://github.com/Graylog2/gelf-rb/pull/21

ghost commented 7 years ago

Are there any plans to work on this enhancement? TCP is a must for deploying a scalable Graylog cluster in AWS, since AWS elastic load balancers do not support UDP

alpha-centauri commented 7 years ago

Still no TCP in 2017?! So TCP support in Graylog2/gelf-rb has been developed all in vain, indeed.

runningman84 commented 7 years ago

this can be closed due to https://github.com/logstash-plugins/logstash-output-gelf/issues/19

Moeser commented 6 years ago

For those landing on this from Google, the TCP option for logstash's gelf output plugin has been available since v3.0.0 of the plugin. There's a (currently undocumented) option you can add to the output plugin protocol => "TCP" that switches it to TCP instead of UDP.

davesave commented 6 years ago

I hope someday someone will fine the time and update 'docs/index.asciidoc' with this hidden protocol => "tcp" option.