systemd-journal-gatewayd.service(8)


NAME

   systemd-journal-gatewayd.service, systemd-journal-gatewayd.socket,
   systemd-journal-gatewayd - HTTP server for journal events

SYNOPSIS

   systemd-journal-gatewayd.service

   systemd-journal-gatewayd.socket

   /lib/systemd/systemd-journal-gatewayd [OPTIONS...]

DESCRIPTION

   systemd-journal-gatewayd serves journal events over the network.
   Clients must connect using HTTP. The server listens on port 19531 by
   default. If --cert= is specified, the server expects HTTPS connections.

   The program is started by systemd(1) and expects to receive a single
   socket. Use systemctl start systemd-journal-gatewayd.socket to start
   the service, and systemctl enable systemd-journal-gatewayd.socket to
   have it started on boot.

OPTIONS

   The following options are understood:

   --cert=
       Specify the path to a file containing a server certificate in PEM
       format. This option switches systemd-journal-gatewayd into HTTPS
       mode and must be used together with --key=.

   --key=
       Specify the path to a file containing a server key in PEM format
       corresponding to the certificate specified with --cert=.

   -D DIR, --directory=DIR
       Takes a directory path as argument. If specified,
       systemd-journal-gatewayd will serve the specified journal directory
       DIR instead of the default runtime and system journal paths.

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

   --version
       Print a short version string and exit.

SUPPORTED URLS

   The following URLs are recognized:

   /browse
       Interactive browsing.

   /entries[?option1&option2=value...]
       Retrieval of events in various formats.

       The Accept: part of the HTTP header determines the format.
       Supported values are described below.

       The Range: part of the HTTP header determines the range of events
       returned. Supported values are described below.

       GET parameters can be used to modify what events are returned.
       Supported parameters are described below.

   /machine
       Return a JSON structure describing the machine.

       Example:

           { "machine_id" : "8cf7ed9d451ea194b77a9f118f3dc446",
             "boot_id" : "3d3c9efaf556496a9b04259ee35df7f7",
             "hostname" : "fedora",
             "os_pretty_name" : "Fedora 19 (Rawhide)",
             "virtualization" : "kvm",
             ...}

   /fields/FIELD_NAME
       Return a list of values of this field present in the logs.

ACCEPT HEADER

   Accept: format

   Recognized formats:

   text/plain
       The default. Plaintext syslog-like output, one line per journal
       entry (like journalctl --output short).

   application/json
       Entries are formatted as JSON data structures, one per line (like
       journalctl --output json). See Journal JSON Format[1] for more
       information.

   text/event-stream
       Entries are formatted as JSON data structures, wrapped in a format
       suitable for Server-Sent Events[2] (like journalctl --output
       json-sse).

   application/vnd.fdo.journal
       Entries are serialized into a binary (but mostly text-based) stream
       suitable for backups and network transfer (like journalctl --output
       export). See Journal Export Format[3] for more information.

RANGE HEADER

   Range: entries=cursor[[:num_skip]:num_entries]

   where cursor is a cursor string, num_skip is an integer, num_entries is
   an unsigned integer.

   Range defaults to all available events.

URL GET PARAMETERS

   Following parameters can be used as part of the URL:

   follow
       wait for new events (like journalctl --follow, except that the
       number of events returned is not limited).

   discrete
       Test that the specified cursor refers to an entry in the journal.
       Returns just this entry.

   boot
       Limit events to the current boot of the system (like journalctl
       --this-boot).

   KEY=match
       Match journal fields. See systemd.journal-fields(7).

EXAMPLES

   Retrieve events from this boot from local journal in Journal Export
   Format[3]:

       curl --silent -H'Accept: application/vnd.fdo.journal' \
              'http://localhost:19531/entries?boot'

   Listen for core dumps:

       curl 'http://localhost:19531/entries?follow&MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1'

SEE ALSO

   systemd(1), journalctl(1), systemd-journald.service(8),
   systemd.journal-fields(7),

NOTES

    1. Journal JSON Format
       http://www.freedesktop.org/wiki/Software/systemd/json

    2. Server-Sent Events
       https://developer.mozilla.org/en-US/docs/Server-sent_events/Using_server-sent_events

    3. Journal Export Format
       http://www.freedesktop.org/wiki/Software/systemd/export





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.