Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP Output Load Balancing #4976

Open
GTownson opened this issue Aug 7, 2018 · 0 comments
Open

TCP Output Load Balancing #4976

GTownson opened this issue Aug 7, 2018 · 0 comments

Comments

@GTownson
Copy link

GTownson commented Aug 7, 2018

In our case we have Graylog instances on client site and then Graylog instances in the cloud for that client. The client site GL send the logs to the cloud for further processing of the logs. currently in the cloud we have single node GL instances, but are looking to cluster these environments due to higher performance requirements. When we send the logs via TCP + TLS (sensitive client date needs to be encrypted when going out over the internet), GL only creates one TCP connection even if there are no

Expected Behaviour

The GELF TCP output should send data in chunks, with a new TCP connection being created each time. For example, if it sent 5 seconds of messages then sent the next five seconds via a new TCP connection it would allow the connection to be load balanced.

Current Behaviour

The GELF TCP + TLS output creates one long TCP connection and therefore the load balancer just sends the connection to one node and waits for the next connection, so it can load balance it. But as the first GL instance won't initiate another TCP connection the load balancer just sends all the traffic to one node.

Possible Solution

If the output were able to send logs for a few seconds then initiate a new TCP connection, it would allow for load balancing of a TCP output from Graylog to Graylog.

@florianpopp florianpopp added this to the 3.x milestone Aug 30, 2018
@bernd bernd removed this from the 3.x milestone Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants