summaryrefslogtreecommitdiffstats
path: root/man/systemd-journal-remote.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-08-27 09:20:12 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-08-27 09:20:16 +0200
commitc298b083c652f84a08f67d314ffff8ac92f6188c (patch)
tree1c36807ae70d34b164cca221a17d6b08b69a3e83 /man/systemd-journal-remote.xml
parentbuild-sys: fix the script used for generating load_fragment_gperf_nulstr (#6646) (diff)
downloadsystemd-c298b083c652f84a08f67d314ffff8ac92f6188c.tar.xz
systemd-c298b083c652f84a08f67d314ffff8ac92f6188c.zip
man: journal-remote: active mode without --url option requires output filename
Closes #6675.
Diffstat (limited to 'man/systemd-journal-remote.xml')
-rw-r--r--man/systemd-journal-remote.xml37
1 files changed, 20 insertions, 17 deletions
diff --git a/man/systemd-journal-remote.xml b/man/systemd-journal-remote.xml
index d7750e416e..d37b9b2021 100644
--- a/man/systemd-journal-remote.xml
+++ b/man/systemd-journal-remote.xml
@@ -106,6 +106,8 @@
<variablelist>
<varlistentry>
+ <term><arg choice="opt" rep="repeat">SOURCES</arg></term>
+
<listitem><para>When <option>-</option> is given as a
positional argument, events will be read from standard input.
Other positional arguments will be treated as filenames
@@ -124,6 +126,20 @@
instance, e.g. http://some.host:19531/ or
https://some.host:19531/.</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><option>--getter='<replaceable>PROG</replaceable> <arg choice="opt" rep="repeat">OPTIONS</arg>'</option></term>
+
+ <listitem><para>Program to invoke to retrieve data. The journal
+ event stream must be generated on standard output.</para>
+
+ <para>Examples:</para>
+
+ <programlisting>--getter='curl "-HAccept: application/vnd.fdo.journal" https://some.host:19531/'</programlisting>
+
+ <programlisting>--getter='wget --header="Accept: application/vnd.fdo.journal" -O- https://some.host:19531/'</programlisting>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>Passive sources can be specified in the following
@@ -225,8 +241,9 @@
escaped hostname of the source endpoint of the connection, or the
numerical address if the hostname cannot be determined.</para>
- <para>In case of "active" sources, the output file name must
- always be given explicitly.</para>
+ <para>In the case that "active" sources are given by the positional
+ arguments or <option>--getter=</option> option, the output file name
+ must always be given explicitly.</para>
</refsect1>
<refsect1>
@@ -265,20 +282,6 @@
The default is <literal>no</literal>.</para></listitem>
</varlistentry>
- <varlistentry>
- <term><option>--getter=<replaceable>PROG --option1 --option2</replaceable></option></term>
-
- <listitem><para>Program to invoke to retrieve data. The journal
- event stream must be generated on standard output.</para>
-
- <para>Examples:</para>
-
- <programlisting>--getter='curl "-HAccept: application/vnd.fdo.journal" https://some.host:19531/'</programlisting>
-
- <programlisting>--getter='wget --header="Accept: application/vnd.fdo.journal" -O- https://some.host:19531/'</programlisting>
- </listitem>
- </varlistentry>
-
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
</variablelist>
@@ -288,7 +291,7 @@
<title>Examples</title>
<para>Copy local journal events to a different journal directory:
<programlisting>
-journalctl -o export | systemd-journal-remote -o /tmp/dir -
+journalctl -o export | systemd-journal-remote -o /tmp/dir/foo.journal -
</programlisting>
</para>