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=f639811e3b99ef61a1efe808e29541bec75d76f5;hp=9b0fce60979b1c68ba55084fc83f1fe0bdfa7504;hb=eef65bf3ee6f73afa4a5de23ae3a794a279f30c0;hpb=ee7c77db55cb105e69f1a088539da602c706c611 diff --git a/man/systemd-journal-gatewayd.service.xml b/man/systemd-journal-gatewayd.service.xml index 9b0fce609..f639811e3 100644 --- a/man/systemd-journal-gatewayd.service.xml +++ b/man/systemd-journal-gatewayd.service.xml @@ -21,7 +21,7 @@ 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 +52,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 +63,9 @@ along with systemd; If not, see . systemd-journal-gatewayd serves journal events over the network. Clients must connect using - HTTP, to 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 +75,48 @@ along with systemd; If not, see . to have it started on boot. + + Options + + The following options are understood: + + + + + + + Prints a short help + text and exits. + + + + + + Prints a short version + string and exits. + + + + + + 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 +124,13 @@ along with systemd; If not, see . - + /browse Interactive browsing. - + /entries[?option1&option2=value...] Retrieval of events in various formats. @@ -101,6 +147,29 @@ along with systemd; If not, see . returned. Supported parameters are described below. + + + /machine + + Return a JSON structure describing the machine. + + Example: + { "machine_id" : "8cf7ed9d451ea194b77a9f118f3dc446", + "boot_id" : "3d3c9efaf556496a9b04259ee35df7f7", + "hostname" : "fedora", + "os_pretty_name" : "Fedora 19 (Rawhide)", + "virtualization" : "kvm", + ...} + + + + + + /fields/FIELD_NAME + + Return a list of values of this field present in the logs. + + @@ -108,14 +177,14 @@ along with systemd; If not, see . Accept header - + Recognized formats: - + text/plain The default. Plaintext syslog-like output, one line per journal entry @@ -124,7 +193,7 @@ along with systemd; If not, see . - + application/json Entries are formatted as JSON data structures, one per line @@ -136,7 +205,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 @@ -166,7 +235,7 @@ along with systemd; If not, see . Range header - + where @@ -185,7 +254,7 @@ along with systemd; If not, see . - + follow wait for new events (like journalctl --follow, except that @@ -194,7 +263,7 @@ along with systemd; If not, see . - + discrete Test that the specified cursor refers to an entry in the journal. Returns just this entry. @@ -202,14 +271,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. @@ -224,16 +293,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'