Skip to content

vector suddenly stopped monitoring files #24443

@lhh528634141

Description

@lhh528634141

A note for the community

vector version: 0.51

Using a DaemonSet to collect service log files, the logs are continuously updated. However, Vector stops reading new file,sometimes restart vector agent will be okay,and i do not know how to solve the problem, it confuse me about 1 month

my config is as follows:

sources:
      info:
        type: file
        include:
          - "/var/log/*/*/*/info.log"
        fingerprint:
          strategy: device_and_inode
        ignore_checkpoints: false
        read_from: end
        max_line_bytes: 1048576
        ignore_older_secs: 86400
        max_read_bytes: 131072
        rotate_wait_secs: 3600

Problem

Using a DaemonSet to collect service log files, the logs are continuously updated. However, Vector stops reading new file,sometimes restart vector agent will be okay,and i do not know how to solve the problem, it confuse me about 1 month

Configuration

sources:
      info:
        type: file
        include:
          - "/var/log/*/*/*/info.log"
        fingerprint:
          strategy: device_and_inode
        ignore_checkpoints: false
        read_from: end
        max_line_bytes: 1048576
        ignore_older_secs: 86400
        max_read_bytes: 131072
        rotate_wait_secs: 3600

Version

0.51

Debug Output

2026-01-05T10:13:59.305188266Z stderr F 2026-01-05T10:13:59.304867Z INFO source{component_kind="source" component_id=info component_type=file}:file_server: vector::internal_events::file::source: Resuming to watch file. file=/var/log/front-online/xx-mix-rest-paptrading/xx-mix-rest-paptrading-1/info.log file_position=1073742032

Example Data

No response

Additional Context

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: fileAnything `file` source relatedtype: bugA code related bug.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions