Suppress warnings for truly Empty Files in Vector’s File Source
Issue
- When using the
file
source inVector
, warnings are shown for files that are too small to track. This is meant to help catch files that might be missed during log collection. However, it also shows warnings for completely empty files (zero bytes), which aren’t useful and can clutter the logs, making it harder to spot important messages.
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
- Red Hat OpenShift Logging (RHOL)
- 5
- Red Hat OpenShift Logging (RHOL)
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.