SYSTEMD-JOURNAL-GATEWAYD.SERVICE(8) systemd-journal-gatewayd.service (NAME) systemd-journal-gatewayd.service, systemd-journal-gatewayd.socket, systemd-journal-gatewayd - HTTP (SYNOPSIS) systemd-journal-gatewayd.service systemd-journal-gatewayd.socket /usr/lib/systemd/systemd-journal-gatewayd [OPTIONS...] (DESCRIPTION) systemd-journal-gatewayd . HTTP . 19531 . --cert= HTTPS . systemd(1) . systemctl start systemd-journal-gatewayd.socket systemctl enable systemd-journal-gatewayd.socket . (OPTIONS) : --cert= (stream socket) 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 (interleaved) . --merge journalctl(1) . 249. -D DIR, --directory=DIR . systemd-journal-gatewayd DIR . 232. --file=GLOB (file glob) . GLOB . . --file= journalctl(1) . 249. -h, --help . --version . (SUPPORTED URLS) : /boots json-seq ( RFC 7464) JSON . (schema) journalctl --list-boots --output json . 258. /browse (Interactive browsing). 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 HEADER) Accept: format : text/plain . syslog ( journalctl --output short). 197. application/json JSON ( journalctl --output json). JSON (Journal JSON Format)[1] . 197. text/event-stream JSON (Server-Sent Events)[2] ( journalctl --output json-sse). 229. application/vnd.fdo.journal ( ) ( journalctl --output export). (Journal Export Format)[3] . 197. RANGE (RANGE HEADER) Range: entries=[cursor][[:num_skip]:[num_entries]] Range: realtime=[since]:[until][[:num_skip]:num_entries] cursor (cursor) since until ( 1970-01-01 00:00:00 UTC) num_skip num_entries . (Range) . num_skip cursor . GET URL (URL GET PARAMETERS) (URL) : follow ( journalctl --follow num_entries Range ). 197. discrete (cursor) . . 197. boot ( journalctl -b). 197. KEY=match . systemd.journal-fields(7) . 197. (EXAMPLES) (Journal Export Format)[3]: curl --silent -H'Accept: application/vnd.fdo.journal' \ 'http://localhost:19531/entries?boot' (core dump): curl 'http://localhost:19531/entries?follow&MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1' (SEE ALSO) systemd(1), journalctl(1), systemd.journal-fields(7), systemd- journald.service(8), systemd-journal-remote.service(8), systemd- journal-upload.service(8) (NOTES) 1. JSON (Journal JSON Format) https://systemd.io/JOURNAL_EXPORT_FORMATS#journal-json-format 2. (Server-Sent Events) https://developer.mozilla.org/en-US/docs/Server- sent_events/Using_server-sent_events 3. (Journal Export Format) https://systemd.io/JOURNAL_EXPORT_FORMATS#journal-export-format systemd 261.2 SYSTEMD-JOURNAL-GATEWAYD.SERVICE(8)