zoweejeslogstream

Outputs the operations log or system log to stdout. Behaves like a Linux tail function with support for standard tail options --follow (-f), --lines (-n), -q, -v, and --version.

  Set the position in the log to begin output using \-\-find, \-\-line, \-\-time, and \-\-offset.  

  Use OPERLOG Message Filtering Options to create a windowed log by filtering for and outputting only lines that fit criteria, e.g., fetch only lines associated with an IAT6xxxx message by specifying: \-\-msgId "IAT6\*".  After filtering the log, output is positioned at the bottom.  Use position options to change that.

  Turn on highlighting for \-\-find using \-\-hilite.  Perform regex text matching with highlighting using \-\-match.  Enable MCS console color emulation with \-\-mcs.  To prevent ANSI escape characters from being output and to instead use accessibility\-friendly text\-only indicators, specify: \-\-nocolor "on".

  The order of host commands issued during initialization are fixed in this program in this order:
  1. All OPERLOG message filtering options, e.g., --msgId and --msgTxt

  2. --line

  3. --time

  4. --find

  5. --offset

    Conceptually and depending on specified options, the program can create a window into the log data using message filtering options, then can point to a line in the data such as the first line, then can position at a time, then find arbitrary text, then offset the view up and down by seconds to days or a number of lines.

    The program outputs trailer diagnostic lines at the end of the run to stderr. Use this information to make your queries more efficient. The trailer and header lines can be muted using the --quiet (-q) option or setting the EJES_LOG_CLI_QUIET environment variable. The program outputs a bottom-of-data line to stdout that is considered an output line by --lines with a line-count argument. To disable it, set the EJES_LOG_CLI_NO_BOTTOM environment variable.

Usage

zowe ejes log stream [log-type] [options]

Positional Arguments

Options

ANSI Color Options

Find String and Position Options

Positioning Options

Positioning Offset Options

OPERLOG Message Filtering Options

Log Options

JES-type Options

EJES Connection Options

EJES CLI Runtime Options

Profile Options

Examples