file source with AWS EFS (NFS) #23584
-
QuestionTrying to get logs from a path which mounts EFS. Does Vector Vector Configsources:
my_logs:
type: file
include:
- '/var/log/some.log' # works with file on EBS
- '/mnt/some/path/on/efs/some.log' # does not work with file on EFS
read_from: end Vector LogsNo response |
Beta Was this translation helpful? Give feedback.
Answered by
thomasqueirozb
Oct 3, 2025
Replies: 2 comments 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
1 reply
-
Inotify does not work on EFS... Could this be related? Recently discovered that other tools distinguish between "inotify" or "poll"... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
inotify is not used with the current
file
source implementation (see #22803), the filesystem is polled every glob_minimum_cooldown_ms. This is the line that fetches paths from a glob path. I can only suspect that somefs
call from within the glob crate is failing andglob::glob_with
's iterator is not returning the EFS path. It may also be that the Vector process doesn't have enough permissions, but as I mentioned before you would expect regular file reads to come from vector. If you verify that the EFS path is not returned byglob::glob_with
(which I highly suspect is the case) then I suggest opening an issue in their repo.