Uneven load balancing when forwarding logs to syslog server using OpenShift Logging

Solution Verified - Updated -

Issue

  • Delay in log ingestion by external syslog servers which are backed by a Load Balancer, when forwarding logs using Red Hat OpenShift Logging.
  • When forwarding logs to syslog endpoint, the load is not evenly distributed to syslog servers which are behind a load balancer.
  • Vector opens a single TCP connection to a Load Balancer, the load balancer typically sticks to the same backend for the duration of that connection, until the pods are restarted.
  • How to configure max_connection_duration_secs for Vector socket sink ?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5
    • 6
  • Vector

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content