Skip to content
Discussion options

You must be logged in to vote

You are reading it correctly for the distroless image.

The journald source does not read the journal directly from Vector code. It starts a journalctl subprocess. The source has a journalctl_path option, defaults to looking for journalctl, first runs journalctl --version, then starts it with arguments like:

--follow
--all
--show-cursor
--output=json

The generated agent DaemonSet mounts host paths such as /var/log, /var/lib, /host/proc, and /host/sys, but it does not mount a journalctl executable. The distroless-libc image Dockerfile also only copies Vector, Vector config/share/doc files, /var/lib/vector, and the staged zlib dependency into a distroless base; it does not install systemd t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants