summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-11-28 17:47:10 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-12-01 17:06:14 +0100
commit4203aa37afb22631ad3859709ba33923a39a4953 (patch)
tree7a400ee819b83ab9d9a55c2c117f3479b0286b60
parent04ba11b2c4ab69dcae5d623808bed76be825dbac (diff)
man: document more URLs for journal-gatewayd
-rw-r--r--man/systemd-journal-gatewayd.service.xml27
1 files changed, 26 insertions, 1 deletions
diff --git a/man/systemd-journal-gatewayd.service.xml b/man/systemd-journal-gatewayd.service.xml
index 9b0fce6097..380662720d 100644
--- a/man/systemd-journal-gatewayd.service.xml
+++ b/man/systemd-journal-gatewayd.service.xml
@@ -101,6 +101,31 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
returned. Supported parameters are described below.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><option>/machine</option></term>
+
+ <listitem><para>Return a JSON structre describing the machine.</para>
+
+ <para>Example:
+ <programlisting>
+{ "machine_id" : "8cf7ed9d451ea194b77a9f118f3dc446",
+ "boot_id" : "3d3c9efaf556496a9b04259ee35df7f7",
+ "hostname" : "fedora",
+ "os_pretty_name" : "Fedora 19 (Rawhide)",
+ "virtualization" : "kvm",
+ ...}
+ </programlisting>
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>/fields/</option><replaceable>FIELD_NAME</replaceable></term>
+
+ <listitem><para>Return a list of values of this field present in the logs.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
@@ -108,7 +133,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<title>Accept header</title>
<para>
- <option>Accept: &lt;format&gt;</option>
+ <option>Accept: </option><replaceable>format</replaceable>
</para>
<para>Recognized formats:</para>