SYSTEMD-JOURNAL-REMOTE.SERVICE(8) systemd-journal-remote.service systemd-journal-remote.service, systemd-journal-remote.socket, systemd-journal-remote - systemd-journal-remote.service systemd-journal-remote.socket /usr/lib/systemd/systemd-journal-remote [OPTIONS...] [-o/--output=DIR|FILE] [SOURCES...] systemd-journal-remote . [1] journalctl --output=export. HTTPS. systemd-journal-remote.service systemd-journal-remote . systemd-journal-remote.socket systemd-journal-remote.service. 19532. journal-remote.conf(5). "" ( systemd-journal-remote ) "" ( systemd-journal-remote ). systemd-journal-remote . . "" "" "" . "" ( ) "" ( ). ( ) systemd-journal-remote . : [SOURCES] - . . 239. --url=ADDRESS --url=ADDRESS HTTP ADDRESS. URL systemd-journal-gatewayd(8) http://some.host:19531/ https://some.host:19531/. 239. --getter='PROG [OPTIONS]' . . : --getter='curl "-HAccept: application/vnd.fdo.journal" https://some.host:19531/' --getter='wget --header="Accept: application/vnd.fdo.journal" -O- https://some.host:19531/' 239. : --listen-raw=ADDRESS ADDRESS ListenStream= ( systemd.socket(5)). systemd-journal-remote . . 239. --listen-http=ADDRESS, --listen-https=ADDRESS ADDRESS () ListenStream= ( systemd.socket(5)). 19532 $LISTEN_FDS/$LISTEN_PID. HTTP HTTPS --listen-http= --listen-https= . POST /upload "Content-Type: application/vnd.fdo.journal". 239. $LISTEN_FDS systemd-journal-remote $LISTEN_FDS/$LISTEN_PID. --listen-raw= --listen-http=-n --listen-https=-n . HTTP HTTPS HTTP. 239. --key= SSL PEM. /etc/ssl/private/journal-remote.pem. --listen-https=. AF_UNIX . 239. --cert= SSL PEM. /etc/ssl/certs/journal-remote.pem. --listen-https=. AF_UNIX . 239. --trust= SSL CA PEM all. all . /etc/ssl/ca/trusted.pem. --listen-https=. AF_UNIX . 239. --gnutls-log= gnutls. --listen-http= --listen-https=. 239. -o --output=. -o FILE, --output=FILE . .journal. . ( ) journald . 239. -o DIR, --output=DIR DIR. . ( ) journald . DIR . 239. --output= /var/log/journal/remote/. . remote-hostname.journal hostname . "" --getter= . : --split-mode none host. . . "" --getter= none. 239. --compress [BOOL] "yes" XZ. "yes". 239. --seal [BOOL] "yes" . "no". 239. -h --help . --version . : journalctl -o export | systemd-journal-remote -o /tmp/dir/foo.journal - systemd-journal-gatewayd(8) /var/log/journal/remote/remote-some.host.journal: systemd-journal-remote --url http://some.host:19531/ systemd-journal-gatewayd(8) /var/log/journal/remote/remote-some.host.journal: systemd-journal-remote --url http://some.host:19531/entries?boot&follow journal-remote.conf(5), journalctl(1), systemd-journal-gatewayd.service(8), systemd-journal-upload.service(8), systemd-journald.service(8) 1. https://systemd.io/JOURNAL_EXPORT_FORMATS#journal-export-format 3 . . : . systemd 260.1 SYSTEMD-JOURNAL-REMOTE.SERVICE(8)