SYSTEMD-JOURNAL-GATEWAYD.SERVICE(8) systemd-journal-gatewayd.service systemd-journal-gatewayd.service systemd-journal-gatewayd.socket systemd-journal-gatewayd - HTTP systemd-journal-gatewayd.service systemd-journal-gatewayd.socket /usr/lib/systemd/systemd-journal-gatewayd [...] systemd-journal-gatewayd . HTTP. 19531 . --cert= HTTPS. systemd(1) . systemctl start systemd-journal-gatewayd.socket systemctl enable systemd-journal-gatewayd.socket . : --cert= AF_UNIX . PEM. systemd-journal-gatewayd HTTPS --key=. 198. --key= AF_UNIX --cert= . PEM. 198. --trust= AF_UNIX CA . PEM. 236. --system --user . --system --user journalctl(1). . 249. -m --merge . --merge journalctl(1). 249. -D --directory= . systemd-journal-gatewayd DIR . 232. --file=GLOB glob . GLOB . . --file= journalctl(1). 249. -h --help . --version . URL URL : /boots json-seq (RFC 7464) JSON . journalctl --list-boots --output json. 258. /browse . 197. /entries[?option1&option2=value...] . Accept: HTTP . . Range: HTTP . . GET . . 197. /machine JSON . : { "machine_id" : "8cf7ed9d451ea194b77a9f118f3dc446", "boot_id" : "3d3c9efaf556496a9b04259ee35df7f7", "hostname" : "fedora", "os_pretty_name" : "Fedora 19 (Rawhide)", "virtualization" : "kvm", ...} 197. /fields/FIELD_NAME . 197. ACCEPT Accept: format : text/plain . syslog ( journalctl --output short). 197. application/json JSON ( journalctl --output json). JSON [1] . 197. text/event-stream JSON [2] ( journalctl --output json-sse). 229. application/vnd.fdo.journal ( ) ( journalctl --output export). [3] . 197. RANGE Range: entries=[cursor][[:num_skip]:[num_entries]] Range: realtime=[since]:[until][[:num_skip]:num_entries] cursor since until ( 1970-01-01 00:00:00 UTC) num_skip num_entries . . num_skip cursor . GET URL URL: ( journalctl --follow num_entries Range). 197. . . 197. boot ( journalctl -b). 197. KEY= . systemd.journal-fields(7). 197. [3]: curl --silent -H'Accept: application/vnd.fdo.journal' \ 'http://localhost:19531/entries?boot' : curl 'http://localhost:19531/entries?follow&MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1' systemd(1), journalctl(1), systemd.journal-fields(7), systemd-journald.service(8), systemd-journal-remote.service(8), systemd-journal-upload.service(8) 1. JSON https://systemd.io/JOURNAL_EXPORT_FORMATS#journal-json-format 2. https://developer.mozilla.org/en-US/docs/Server-sent_events/Using_server-sent_events 3. https://systemd.io/JOURNAL_EXPORT_FORMATS#journal-export-format 3 . . : . systemd 260.2 SYSTEMD-JOURNAL-GATEWAYD.SERVICE(8)