Q&A Vector suddenly stopped monitoring files. #24407
Answered
by
EzLittleChen
EzLittleChen
asked this question in
Q&A
-
QuestionUsing a DaemonSet to collect service log files, the logs are continuously updated. However, Vector stops reading after a certain point in time, and the checkpoint remains stuck at that time. ls -lati
total 1487556
86443925 -rw-r--r-- 1 502 502 1483763471 Dec 23 16:58 app.loggrep 86443925 /var/lib/vector/k8s_file_logs/checkpoints.json
...{"fingerprint":{"dev_inode":[2064,86443925]},"position":5118608517,"modified":"2025-12-21T06:20:26.318649194Z"}...Vector Configsources:
k8s_file_logs:
type: file
rotate_wait_secs: 600
read_from: "end"
max_line_bytes: 262144
encoding:
charset: utf-8
fingerprint:
strategy: device_and_inode
ignore_not_found: true
ignore_older_secs: 1800
include:
- /data1/kubernetes/logs/**/**/**/*.logVector Logs2025-12-19T06:40:46.227255Z INFO source{component_kind="source" component_id=k8s_file_logs component_type=file}:file_server: vector::internal_events::file::source: Found new file to watch. file=/data1/kubernetes/logs/eeo/eeocn-base/eeocn-base-6694c4569b-hjs7c/app.log |
Beta Was this translation helpful? Give feedback.
Answered by
EzLittleChen
Dec 23, 2025
Replies: 1 comment 3 replies
-
|
Since our service logs are not segmented, log cleanup will directly empty the file contents. Is this the reason? |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
EzLittleChen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since our service logs are not segmented, log cleanup will directly empty the file contents. Is this the reason?