You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use sources as file, hundreds or thousands of files, cpu directly 100%
Why doesn't the "ignore_older_secs" parameter to file feel valid?
It seems that time beyond "ignore_older_secs" should not be detected. I don't know whether there is a problem with my other parameter configuration.
top metrics:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22280 root 20 0 819592 95112 11596 S 118.4 0.3 4:13.89 vector -c vector.toml
22614 root 20 0 158064 6636 4640 S 5.3 0.0 0:02.56 sshd: root@pts/0
conf sources:
[sources.victory_phpapp]
type = "file"
include = ["/data/logs/app*.log"]
host_key = "hostname"
ignore_older_secs = 60
max_line_bytes = 5242880
Why load so many files already beyond "ignore_older_secs"?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Use sources as file, hundreds or thousands of files, cpu directly 100%
Why doesn't the "ignore_older_secs" parameter to file feel valid?
It seems that time beyond "ignore_older_secs" should not be detected. I don't know whether there is a problem with my other parameter configuration.
top metrics:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22280 root 20 0 819592 95112 11596 S 118.4 0.3 4:13.89 vector -c vector.toml
22614 root 20 0 158064 6636 4640 S 5.3 0.0 0:02.56 sshd: root@pts/0
conf sources:
[sources.victory_phpapp]
type = "file"
include = ["/data/logs/app*.log"]
host_key = "hostname"
ignore_older_secs = 60
max_line_bytes = 5242880
Why load so many files already beyond "ignore_older_secs"?

Beta Was this translation helpful? Give feedback.
All reactions