summaryrefslogtreecommitdiff
path: root/man/journalctl.xml
diff options
context:
space:
mode:
authorLars Karlitski <lars@karlitski.net>2017-10-27 05:10:47 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-10-27 12:10:47 +0900
commitcc25a67e2af21833f9fef5aba6e16beafa03b0c7 (patch)
tree404ff13bb957e8b462862c465e01d23b9bfe72be /man/journalctl.xml
parenta8caf8b251c1f298efc69d0049d53ead2bc98d57 (diff)
downloadsystemd-cc25a67e2af21833f9fef5aba6e16beafa03b0c7.tar.gz
journalctl: add --output-fields= (#7181)
This option allows restricting the shown fields in the output modes that would normally show all fields. It allows clients that are only interested in a subset of the fields to access those more efficiently. Also, it makes the resulting size of the output more predictable. It has no effect on the various `short` output modes, because those already only show a subset of the fields.
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 444b916073..c80e0ed1c2 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -385,6 +385,20 @@
</varlistentry>
<varlistentry>
+ <term><option>--output-fields=</option></term>
+
+ <listitem><para>A comma separated list of the fields which should
+ be included in the output. This only has an effect for the output modes
+ which would normally show all fields (<option>verbose</option>,
+ <option>export</option>, <option>json</option>,
+ <option>json-pretty</option>, and <option>json-sse</option>). The
+ <literal>__CURSOR</literal>, <literal>__REALTIME_TIMESTAMP</literal>,
+ <literal>__MONOTONIC_TIMESTAMP</literal>, and
+ <literal>_BOOT_ID</literal> fields are always
+ printed.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--utc</option></term>
<listitem><para>Express time in Coordinated Universal Time