-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
openshift-4.15.z, openshift-4.16.z, openshift-4.18.z, openshift-4.19.z
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
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