systemd-journal-upload(8)


NAME

   systemd-journal-upload - Send journal messages over the network

SYNOPSIS

   systemd-journal-upload [OPTIONS...] [-u/--url=URL] [SOURCES...]

DESCRIPTION

   systemd-journal-upload will upload journal entries to the URL specified
   with --url. Unless limited by one of the options specified below, all
   journal entries accessible to the user the program is running as will
   be uploaded, and then the program will wait and send new entries as
   they become available.

OPTIONS

   -u, --url=[https://]URL, --url=[http://]URL
       Upload to the specified address.  URL may specify either just the
       hostname or both the protocol and hostname.  https is the default.

   --system, --user
       Limit uploaded entries to entries from system services and the
       kernel, or to entries from services of current user. This has the
       same meaning as --system and --user options for journalctl(1). If
       neither is specified, all accessible entries are uploaded.

   -m, --merge
       Upload entries interleaved from all available journals, including
       other machines. This has the same meaning as --merge option for
       journalctl(1).

   -D, --directory=DIR
       Takes a directory path as argument. Upload entries from the
       specified journal directory DIR instead of the default runtime and
       system journal paths. This has the same meaning as --directory
       option for journalctl(1).

   --file=GLOB
       Takes a file glob as an argument. Upload entries from the specified
       journal files matching GLOB instead of the default runtime and
       system journal paths. May be specified multiple times, in which
       case files will be suitably interleaved. This has the same meaning
       as --file option for journalctl(1).

   --cursor=
       Upload entries from the location in the journal specified by the
       passed cursor. This has the same meaning as --cursor option for
       journalctl(1).

   --after-cursor=
       Upload entries from the location in the journal after the location
       specified by the this cursor. This has the same meaning as
       --after-cursor option for journalctl(1).

   --save-state[=PATH]
       Upload entries from the location in the journal after the location
       specified by the cursor saved in file at PATH
       (/var/lib/systemd/journal-upload/state by default). After an entry
       is successfully uploaded, update this file with the cursor of that
       entry.

   -h, --help
       Print a short help text and exit.

   --version
       Print a short version string and exit.

EXIT STATUS

   On success, 0 is returned; otherwise, a non-zero failure code is
   returned.

EXAMPLES

   Example 1. Setting up certificates for authentication

   Certificates signed by a trusted authority are used to verify that the
   server to which messages are uploaded is legitimate, and vice versa,
   that the client is trusted.

   A suitable set of certificates can be generated with openssl:

       openssl req -newkey rsa:2048 -days 3650 -x509 -nodes \
             -out ca.pem -keyout ca.key -subj '/CN=Certificate authority/'

       cat >ca.conf <<EOF
       [ ca ]
       default_ca = this

       [ this ]
       new_certs_dir = .
       certificate = ca.pem
       database = ./index
       private_key = ca.key
       serial = ./serial
       default_days = 3650
       default_md = default
       policy = policy_anything

       [ policy_anything ]
       countryName             = optional
       stateOrProvinceName     = optional
       localityName            = optional
       organizationName        = optional
       organizationalUnitName  = optional
       commonName              = supplied
       emailAddress            = optional
       EOF

       touch index
       echo 0001 >serial

       SERVER=server
       CLIENT=client

       openssl req -newkey rsa:1024 -nodes -out $SERVER.csr -keyout $SERVER.key -subj "/CN=$SERVER/"
       openssl ca -batch -config ca.conf -notext -in $SERVER.csr -out $SERVER.pem

       openssl req -newkey rsa:1024 -nodes -out $CLIENT.csr -keyout $CLIENT.key -subj "/CN=$CLIENT/"
       openssl ca -batch -config ca.conf -notext -in $CLIENT.csr -out $CLIENT.pem

   Generated files ca.pem, server.pem, and server.key should be installed
   on server, and ca.pem, client.pem, and client.key on the client. The
   location of those files can be specified using TrustedCertificateFile=,
   ServerCertificateFile=, ServerKeyFile=, in
   /etc/systemd/journal-remote.conf and /etc/systemd/journal-upload.conf,
   respectively. The default locations can be queried by using
   systemd-journal-remote --help and systemd-journal-upload --help.

SEE ALSO

   systemd-journal-remote(8), journalctl(1), systemd-journald.service(8),
   systemd-journal-gatewayd.service(8)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.