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

Enforce new connections like rsyslog does with the rebindinterval option #44

Open
businessbean opened this issue Feb 23, 2022 · 0 comments

Comments

@businessbean
Copy link

Rsyslog provides a rebindinterval option for several output plugins like omelasticsearch, omrelp and omfwd. This is very helpful if you send the messages to Kubernetes ClusterIP service, because it will use a static iptables rule for the load balancing. This would route all traffic from a single source (the Logstash output) to the same pod backing that service.

With the rebindinterval option a new connection (by changing the the source port) will be established every x messages. This will ensure a proper load balancing to all pods backing the ClusterIP service even with the static iptables rules.

Something similar would also be beneficial for this output plugin.

FYI: @richardgilm

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

1 participant