mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
7e60afb6fc
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
|