mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01: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
10 lines
267 B
Docker
10 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
|