mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-19 23:16:26 +01: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
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
|