mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
da14c7b26e
This commit allows to ingest logs with journald format. https://www.freedesktop.org/software/systemd/man/latest/systemd-journal-remote.service.html related issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4618
9 lines
267 B
Docker
9 lines
267 B
Docker
FROM ubuntu:24.04
|
|
|
|
RUN \
|
|
apt update && \
|
|
apt install -y \
|
|
systemd \
|
|
systemd-journal-remote && \
|
|
sed -i 's/# URL=/URL=http:\/\/victorialogs:9428\/insert\/journald/g' /etc/systemd/journal-upload.conf && \
|
|
systemctl enable systemd-journal-upload.service
|