X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-journal-remote.xml;h=ef998355ce2a1ba26b5a45de1347529ce210e68a;hp=972c3227e4804a15e43d5ddd920d3c463ea4631f;hb=855ee1a1d272b599410212b40768a9c71f260e37;hpb=b8bde11658366290521e3d03316378b482600323 diff --git a/man/systemd-journal-remote.xml b/man/systemd-journal-remote.xml index 972c3227e..ef998355c 100644 --- a/man/systemd-journal-remote.xml +++ b/man/systemd-journal-remote.xml @@ -1,4 +1,4 @@ - + @@ -21,7 +21,8 @@ You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + systemd-journal-remote @@ -44,14 +45,14 @@ along with systemd; If not, see . systemd-journal-remote - Stream journal messages over the network + Receive journal messages over the network systemd-journal-remote OPTIONS - -o/--output=DIR|FILE + -o/--output=DIR|FILE SOURCES @@ -62,12 +63,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 +187,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 +215,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 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. @@ -238,18 +236,17 @@ along with systemd; If not, see . - - + - Print a short help - text and exit. - - - - + One of none or + host. For the first, only one output + journal file is used. For the latter, a separate output file + is used, based on the hostname of the other endpoint of a + connection. - Print a short version - string and exit. + In case of "active" sources, the output file name must + always be given explicitly and only none + is allowed. @@ -282,6 +279,9 @@ along with systemd; If not, see . --getter='wget --header="Accept: application/vnd.fdo.journal" -O- https://some.host:19531/' + + + @@ -306,9 +306,10 @@ systemd-journal-remote --url http://some.host:19531/ See Also + systemd-journal-upload8, journalctl1, systemd-journald.service8, - systemd-journal-gatewayd.service8. + systemd-journal-gatewayd.service8