3802a3d3d7af51ddff31943d5514382f01265770Lennart Poettering<?xml version='1.0'?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*-->
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
12b42c76672a66c2d4ea7212c14f8f1b5a62b78dTom Gundersen"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek This file is part of systemd.
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek Copyright 2012 Zbigniew Jędrzejewski-Szmek
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek systemd is free software; you can redistribute it and/or modify it
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek under the terms of the GNU Lesser General Public License as published by
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek the Free Software Foundation; either version 2.1 of the License, or
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek (at your option) any later version.
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek systemd is distributed in the hope that it will be useful, but
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek WITHOUT ANY WARRANTY; without even the implied warranty of
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek Lesser General Public License for more details.
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek You should have received a copy of the GNU Lesser General Public License
b975b0d514321f169b3c4599a8ea92e13741b4e4Zbigniew Jędrzejewski-Szmek along with systemd; If not, see <http://www.gnu.org/licenses/>.
0e8415f2e5c42e87ca3b7a96138675f64696cb7aZbigniew Jędrzejewski-Szmek<refentry id="systemd-journal-remote" conditional='HAVE_MICROHTTPD'
0e8415f2e5c42e87ca3b7a96138675f64696cb7aZbigniew Jędrzejewski-Szmek xmlns:xi="http://www.w3.org/2001/XInclude">
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <title>systemd-journal-remote</title>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <productname>systemd</productname>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <surname>Jędrzejewski-Szmek</surname>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <email>zbyszek@in.waw.pl</email>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <refentrytitle>systemd-journal-remote</refentrytitle>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <refname>systemd-journal-remote</refname>
330427e271c37400f091bf4570b5d8fa96574d36Zbigniew Jędrzejewski-Szmek <refpurpose>Receive journal messages over the network</refpurpose>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <refsynopsisdiv>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <command>systemd-journal-remote</command>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <arg choice="opt" rep="repeat">OPTIONS</arg>
330427e271c37400f091bf4570b5d8fa96574d36Zbigniew Jędrzejewski-Szmek <arg choice="opt" rep="norepeat">-o/--output=<replaceable>DIR</replaceable>|<replaceable>FILE</replaceable></arg>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <arg choice="opt" rep="repeat">SOURCES</arg>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek </refsynopsisdiv>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <filename>systemd-journal-remote</filename> is a command to
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek receive serialized journal events and store them to the journal.
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek Input streams are in the
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <ulink url="http://www.freedesktop.org/wiki/Software/systemd/export">
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek Journal Export Format
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek i.e. like the output from
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek <command>journalctl --output=export</command>. For transport over
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek the network, this serialized stream is usually carried over an
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek HTTPS connection.
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek Sources can be either "active"
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek (<command>systemd-journal-remote</command> requests and pulls
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek the data), or "passive"
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek (<command>systemd-journal-remote</command> waits for a
dca348bcbb462305864526c587495a14a76bfcdeJan Engelhardt connection and then receives events pushed by the other side).
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <command>systemd-journal-remote</command> can read more than one
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek event stream at a time. They will be interleaved in the output
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek file. In case of "active" connections, each "source" is one
b8bde11658366290521e3d03316378b482600323Jan Engelhardt stream, and in case of "passive" connections, each connection can
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek result in a separate stream. Sockets can be configured in
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek "accept" mode (i.e. only one connection), or "listen" mode (i.e.
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek multiple connections, each resulting in a stream).
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek When there are no more connections, and no more can be created
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek (there are no listening sockets), then
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <command>systemd-journal-remote</command> will exit.
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <para>Active sources can be specified in the following
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <listitem><para>When <option>-</option> is given as a
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek positional argument, events will be read from standard input.
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek Other positional arguments will be treated as filenames
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek to open and read from.</para></listitem>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--url=<replaceable>ADDRESS</replaceable></option></term>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <option>--url=<replaceable>ADDRESS</replaceable></option> option,
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek events will be retrieved using HTTP from
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <replaceable>ADDRESS</replaceable>. This URL should refer to the
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek root of a remote
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd-journal-gatewayd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek instance (e.g. <ulink>http://some.host:19531/</ulink> or
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <ulink>https://some.host:19531/</ulink>).</para></listitem>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <para>Passive sources can be specified in the following
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--listen-raw=<replaceable>ADDRESS</replaceable></option></term>
cc64d0175a3c2c974709e9962c00fbe04d74c43fZbigniew Jędrzejewski-Szmek <listitem><para><replaceable>ADDRESS</replaceable> must be an
dca348bcbb462305864526c587495a14a76bfcdeJan Engelhardt address suitable for <option>ListenStream=</option> (cf.
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd.socket</refentrytitle><manvolnum>5</manvolnum></citerefentry>).
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <command>systemd-journal-remote</command> will listen on this
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek socket for connections. Each connection is expected to be a
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek stream of journal events.</para>
cc64d0175a3c2c974709e9962c00fbe04d74c43fZbigniew Jędrzejewski-Szmek <term><option>--listen-http=<replaceable>ADDRESS</replaceable></option></term>
cc64d0175a3c2c974709e9962c00fbe04d74c43fZbigniew Jędrzejewski-Szmek <term><option>--listen-https=<replaceable>ADDRESS</replaceable></option></term>
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek <listitem><para><replaceable>ADDRESS</replaceable> must be
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek either a negative integer, in which case it will be
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek interpreted as the (negated) file descriptor number, or an
cc64d0175a3c2c974709e9962c00fbe04d74c43fZbigniew Jędrzejewski-Szmek address suitable for <option>ListenStream=</option> (c.f.
cc64d0175a3c2c974709e9962c00fbe04d74c43fZbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd.socket</refentrytitle><manvolnum>5</manvolnum></citerefentry>).
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek In the first case, matching file descriptor must be inherited
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek <varname>$LISTEN_FDS</varname>/<varname>$LISTEN_PID</varname>.
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek In the second case, an HTTP or HTTPS server will be spawned on
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek this port, respectively for <option>--listen-http</option> and
ff9b60f38bf68eba4a47cabff14547d92e083214Torstein Husebø <option>--listen-https</option>. Currently, only POST requests
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek to <filename>/upload</filename> with <literal>Content-Type:
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek application/vnd.fdo.journal</literal> are supported.</para>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><varname>$LISTEN_FDS</varname></term>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <listitem><para><command>systemd-journal-remote</command>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <varname>$LISTEN_FDS</varname>/<varname>$LISTEN_PID</varname>
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek protocol. Open sockets inherited through socket activation
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek behave like those opened with <option>--listen-raw=</option>
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek described above, unless they are specified as an argument in
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek <option>--listen-http=-<replaceable>n</replaceable></option>
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek <option>--listen-https=-<replaceable>n</replaceable></option>
b8bde11658366290521e3d03316378b482600323Jan Engelhardt above. In the latter case, an HTTP or HTTPS server will be
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek spawned using this descriptor and connections must be made
8a8d55f2c104cf99efe5f244fc4857a15e9f60deZbigniew Jędrzejewski-Szmek over the HTTP protocol.</para>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <para>The location of the output journal can be specified
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek with <option>-o</option> or <option>--output=</option>. For "active"
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek sources, this option is required.
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--output=<replaceable>FILE</replaceable></option></term>
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek <listitem><para>Will write to this journal file. The filename
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek must end with <filename>.journal</filename>. The file will be
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek created if it does not exist. If necessary (journal file full,
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek or corrupted), the file will be renamed following normal
dca348bcbb462305864526c587495a14a76bfcdeJan Engelhardt journald rules and a new journal file will be created in its
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--output=<replaceable>DIR</replaceable></option></term>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <listitem><para>Will create journal files underneath directory
b8bde11658366290521e3d03316378b482600323Jan Engelhardt <replaceable>DIR</replaceable>. The directory must exist. If
b8bde11658366290521e3d03316378b482600323Jan Engelhardt necessary (journal files over size, or corrupted), journal
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek files will be rotated following normal journald rules. Names
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek of files underneath <replaceable>DIR</replaceable> will be
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek generated using the rules described below.</para></listitem>
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek <para>If <option>--output=</option> is not used, the output
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek directory <filename>/var/log/journal/remote/</filename> will be
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek used. In case the output file is not specified, journal files
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek will be created underneath the selected directory. Files will be
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek <filename>remote-<replaceable>hostname</replaceable>.journal</filename>,
cbfaff65cb086e3eb3709cf86dcf63b46622389bKarel Zak where the <replaceable>hostname</replaceable> part is the
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek escaped hostname of the source endpoint of the connection, or the
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek numerical address if the hostname cannot be determined.</para>
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek <para>In case of "active" sources, the output file name must
a8ca47227d1ab716ba928d8b9334b655ca5a840cZbigniew Jędrzejewski-Szmek always be given explicitly.</para>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <para>The following options are understood:</para>
8201af08fa09c2bd0f005fbe262f27e2c5bd2d86Zbigniew Jędrzejewski-Szmek <term><option>--split-mode</option></term>
8201af08fa09c2bd0f005fbe262f27e2c5bd2d86Zbigniew Jędrzejewski-Szmek <listitem><para>One of <constant>none</constant> or
8201af08fa09c2bd0f005fbe262f27e2c5bd2d86Zbigniew Jędrzejewski-Szmek <constant>host</constant>. For the first, only one output
8201af08fa09c2bd0f005fbe262f27e2c5bd2d86Zbigniew Jędrzejewski-Szmek journal file is used. For the latter, a separate output file
8201af08fa09c2bd0f005fbe262f27e2c5bd2d86Zbigniew Jędrzejewski-Szmek is used, based on the hostname of the other endpoint of a
8201af08fa09c2bd0f005fbe262f27e2c5bd2d86Zbigniew Jędrzejewski-Szmek connection.</para>
8201af08fa09c2bd0f005fbe262f27e2c5bd2d86Zbigniew Jędrzejewski-Szmek <para>In case of "active" sources, the output file name must
8201af08fa09c2bd0f005fbe262f27e2c5bd2d86Zbigniew Jędrzejewski-Szmek always be given explicitly and only <constant>none</constant>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--compress</option></term>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--no-compress</option></term>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <listitem><para>Compress or not, respectively, the data in the
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek journal using XZ.</para></listitem>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--seal</option></term>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--no-seal</option></term>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <listitem><para>Periodically sign or not, respectively, the
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek data in the journal using Forward Secure Sealing.
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <term><option>--getter=<replaceable>PROG --option1 --option2</replaceable></option></term>
b8bde11658366290521e3d03316378b482600323Jan Engelhardt <listitem><para>Program to invoke to retrieve data. The journal
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek event stream must be generated on standard output.</para>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <programlisting>--getter='curl "-HAccept: application/vnd.fdo.journal" https://some.host:19531/'</programlisting>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <programlisting>--getter='wget --header="Accept: application/vnd.fdo.journal" -O- https://some.host:19531/'</programlisting>
0e8415f2e5c42e87ca3b7a96138675f64696cb7aZbigniew Jędrzejewski-Szmek <xi:include href="standard-options.xml" xpointer="help" />
0e8415f2e5c42e87ca3b7a96138675f64696cb7aZbigniew Jędrzejewski-Szmek <xi:include href="standard-options.xml" xpointer="version" />
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <para>Copy local journal events to a different journal directory:
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <programlisting>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmekjournalctl -o export | systemd-journal-remote -o /tmp/dir -
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek </programlisting>
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabe <para>Retrieve all available events from a remote
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd-journal-gatewayd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek instance and store them in
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabe <filename>/var/log/journal/remote/remote-some.host.journal</filename>:
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <programlisting>
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmeksystemd-journal-remote --url http://some.host:19531/
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek </programlisting>
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabe <para>Retrieve current boot events and wait for new events from a remote
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabe <citerefentry><refentrytitle>systemd-journal-gatewayd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabe instance, and store them in
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabe <filename>/var/log/journal/remote/remote-some.host.journal</filename>:
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabe <programlisting>
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabesystemd-journal-remote --url http://some.host:19531/entries?boot&follow
e6b6225e3b7f897fe30acc57bfbe82af1c8514fdYu Watanabe </programlisting>
330427e271c37400f091bf4570b5d8fa96574d36Zbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd-journal-upload</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
fdfccdbc985944a57017a25f44dd6acc1a937babZbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
330427e271c37400f091bf4570b5d8fa96574d36Zbigniew Jędrzejewski-Szmek <citerefentry><refentrytitle>systemd-journal-gatewayd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
eaa5251d9167027275d8275862e23e0b7dc8866eChris Morgan <citerefentry><refentrytitle>journal-remote.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>