X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-journal-gatewayd.service.xml;h=01b2552015300f8a11e1ba8ad5260ba5426a039e;hb=f47c5c47d1a7bcfa1842ff7cc52b1f7fc1d86bcf;hp=562d22186b732da3ab4f3d5f0b14f4c730f87cc5;hpb=065144aae6d3a39c0a0e8fe03e1c7a9ac6c9625b;p=elogind.git
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.servicesystemd-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 .
-
+ /browseInteractive browsing.
-
+ /entries[?option1&option2=value...]Retrieval of events in various formats.
@@ -103,25 +137,23 @@ along with systemd; If not, see .
-
+ /machineReturn 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_NAMEReturn 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/plainThe default. Plaintext syslog-like output,
one line per journal entry
@@ -149,7 +181,7 @@ along with systemd; If not, see .
-
+ application/jsonEntries are formatted as JSON data structures,
one per line
@@ -161,7 +193,7 @@ along with systemd; If not, see .
-
+ application/event-streamEntries are formatted as JSON data structures,
wrapped in a format suitable for .
-
+ application/vnd.fdo.journalEntries 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 .
-
+ followwait for new events
(like journalctl --follow, except that
@@ -219,7 +251,7 @@ along with systemd; If not, see .
-
+ discreteTest 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 .
-
+ bootLimit events to the current boot of the system
(like journalctl --this--boot).
-
+ KEY=matchMatch 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'