From a8ca47227d1ab716ba928d8b9334b655ca5a840c Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 10 Jul 2014 15:03:28 -0400 Subject: man: describe new filename rules for journal-remote --- man/systemd-journal-remote.xml | 47 ++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 25 deletions(-) (limited to 'man') diff --git a/man/systemd-journal-remote.xml b/man/systemd-journal-remote.xml index 4107714418..4065ced143 100644 --- a/man/systemd-journal-remote.xml +++ b/man/systemd-journal-remote.xml @@ -62,12 +62,14 @@ along with systemd; If not, see . systemd-journal-remote is a command to receive serialized journal events and store them to the journal. - Input streams must be in the + Input streams are in the Journal Export Format , i.e. like the output from - journalctl --output=export. + journalctl --output=export. For transport over + the network, this serialized stream is usually carried over an + HTTPS connection. @@ -184,17 +186,18 @@ along with systemd; If not, see . Sinks The location of the output journal can be specified - with or . + with or . For "active" + sources, this option is required. - Will write to this journal. The filename must - end with .journal. The file will be - created if it does not exist. If necessary (journal file - full, or corrupted), the file will be renamed following normal + Will write to this journal file. The filename + must end with .journal. The file will be + created if it does not exist. If necessary (journal file full, + or corrupted), the file will be renamed following normal journald rules and a new journal file will be created in its stead. @@ -211,24 +214,18 @@ along with systemd; If not, see . - If is not used, the output directory - /var/log/journal/machine-id/ - will be used, where machine-id is the - identifier of the current system (see - machine-id5). - In case the output file is not specified, journal files will be - created underneath the selected directory. Files will be called - remote-variable.journal, - where the variable part is generated - based on what passive and active sources are specified. It is - recommended to give a full output filename. - - In case of "active" sources, if the hostname is known, it - will be used in the variable part. - Otherwise, local address and port number will be used, or - stdin for events passed over standard - input, and multiple if more than one source - is specified. + If is not used, the output + directory /var/log/journal/remote/ will be + used. In case the output file is not specified, journal files + will be created underneath the selected directory. Files will be + called + remote-hostname.journal, + where the hostname part is is the + escaped hostname of the source endpoint of the connection, or the + numerical address if the hostname cannot be determined. + + In case of "active" sources, the output file name must + always be given explicitly. -- cgit v1.2.3-54-g00ecf