Collector discarding to read log lines as exceeded the max_line_bytes in RHOCP 4

Solution Verified - Updated -

Issue

  • The collector Vector is discarding to read lines as exceed the max_line_bytes
  • Some log lines are not being collected by the collector Vector and in the collector logs is observed an error that doesn't identify the pod or container producing the log line discarded to be read

    WARN file_source::buffer: Internal log [Found line that exceeds max_line_bytes; discarding.] is being suppressed to avoid flooding.
    WARN file_source::buffer: Internal log [Found line that exceeds max_line_bytes; discarding.] has been suppressed 1 times.
    WARN file_source::buffer: Found line that exceeds max_line_bytes; discarding. Internal_log_rate_limit=true
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5
  • 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