X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-journal-gatewayd.service.xml;h=01b2552015300f8a11e1ba8ad5260ba5426a039e;hp=562d22186b732da3ab4f3d5f0b14f4c730f87cc5;hb=edf2573743b25273bee020230a60f1a054b8ec60;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/man/systemd-journal-gatewayd.service.xml b/man/systemd-journal-gatewayd.service.xml index 562d22186..01b255201 100644 --- a/man/systemd-journal-gatewayd.service.xml +++ b/man/systemd-journal-gatewayd.service.xml @@ -21,7 +21,8 @@ You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + systemd-journal-gatewayd.service @@ -52,7 +53,9 @@ along with systemd; If not, see . systemd-journal-gatewayd.service systemd-journal-gatewayd.socket - /usr/lib/systemd/systemd-journal-gatewayd + + /usr/lib/systemd/systemd-journal-gatewayd + OPTIONS @@ -61,7 +64,9 @@ along with systemd; If not, see . systemd-journal-gatewayd serves journal events over the network. Clients must connect using - HTTP. The server listens on port 19531 by default. + HTTP. The server listens on port 19531 by default. + If is specified, the server expects + HTTPS connections. The program is started by systemd1 @@ -71,6 +76,35 @@ along with systemd; If not, see . to have it started on boot. + + Options + + The following options are understood: + + + + + + Specify the path to a file containing a server + certificate in PEM format. This option switches + systemd-journal-gatewayd into HTTPS mode + and must be used together with + . + + + + + + Specify the path to a file containing a server + key in PEM format corresponding to the certificate specified + with . + + + + + + + Supported URLs @@ -78,13 +112,13 @@ along with systemd; If not, see . - + /browse Interactive browsing. - + /entries[?option1&option2=value...] Retrieval of events in various formats. @@ -103,25 +137,23 @@ along with systemd; If not, see . - + /machine Return a JSON structure describing the machine. Example: - -{ "machine_id" : "8cf7ed9d451ea194b77a9f118f3dc446", + { "machine_id" : "8cf7ed9d451ea194b77a9f118f3dc446", "boot_id" : "3d3c9efaf556496a9b04259ee35df7f7", "hostname" : "fedora", "os_pretty_name" : "Fedora 19 (Rawhide)", "virtualization" : "kvm", - ...} - + ...} - FIELD_NAME + /fields/FIELD_NAME Return a list of values of this field present in the logs. @@ -133,14 +165,14 @@ along with systemd; If not, see . Accept header - format + Recognized formats: - + text/plain The default. Plaintext syslog-like output, one line per journal entry @@ -149,7 +181,7 @@ along with systemd; If not, see . - + application/json Entries are formatted as JSON data structures, one per line @@ -161,7 +193,7 @@ along with systemd; If not, see . - + application/event-stream Entries are formatted as JSON data structures, wrapped in a format suitable for . - + application/vnd.fdo.journal Entries are serialized into a binary (but mostly text-based) stream suitable for backups and network @@ -191,7 +223,7 @@ along with systemd; If not, see . Range header - + where @@ -210,7 +242,7 @@ along with systemd; If not, see . - + follow wait for new events (like journalctl --follow, except that @@ -219,7 +251,7 @@ along with systemd; If not, see . - + discrete Test that the specified cursor refers to an entry in the journal. Returns just this entry. @@ -227,14 +259,14 @@ along with systemd; If not, see . - + boot Limit events to the current boot of the system (like journalctl --this--boot). - + KEY=match Match journal fields. See systemd.journal-fields7. @@ -249,16 +281,12 @@ along with systemd; If not, see . in Journal Export Format: - -curl --silent -H'Accept: application/vnd.fdo.journal' \ - 'http://localhost:19531/entries?boot' - + curl --silent -H'Accept: application/vnd.fdo.journal' \ + 'http://localhost:19531/entries?boot' Listen for core dumps: - -curl 'http://localhost:19531/entries?follow&MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1' - + curl 'http://localhost:19531/entries?follow&MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1'