Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-7935

Suppress Warnings for Truly Empty Files in Vector’s File Source

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • openshift-4.15.z, openshift-4.16.z, openshift-4.18.z, openshift-4.19.z
    • Logging
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1. Proposed title of this feature request
      Suppress Warnings for Truly Empty Files in Vector’s File Source

      2. What is the nature and description of the request?

      Currently, when using the file source in Vector, the system emits warnings for files that are considered too small to track effectively. While this behavior is valuable for identifying small files that may be overlooked during ingestion, it also triggers unnecessary warnings for files that are completely empty (i.e., zero bytes in size). These warnings add noise to logs and may obscure more relevant operational messages.

      The request is to change this behavior so that Vector only warns about small files if they actually contain some data. Files that are truly empty should be silently ignored without a warning, as they do not represent meaningful input.

      3. Why does the customer need this? (List the business requirements here)

      Reduce Log Noise: The warnings about empty files generate excessive and unnecessary log entries, making it difficult to identify real issues during troubleshooting.

      Operational Clarity: By removing these unhelpful messages, operators can focus on important system behavior without being distracted by benign conditions.

      4. List any affected packages or components.

      Component: Vector
      Subcomponent: file source (file reader module)

      GitHub Link:- https://github.com/vectordotdev/vector/issues/1065

              jamparke@redhat.com Jamie Parker
              rhn-support-samrinha SAYED AMRIN HANIF
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                None
                None