Showlog commands for Common Base Events

The showlog command converts the service log from binary format into plain text.

Purpose

These showlog commands produce output in Common Base Event XML format.
  • [AIX Solaris HP-UX Linux Windows]showlog -format CBE-XML-1.0.1 filename
  • [IBM i]showlog -format CBE-XML-1.0.1 filename
  • [z/OS]showlog -start startDateTime -format CBE-XML-1.0.1 logStreamName
where:
[AIX Solaris HP-UX Linux Windows][IBM i] filename
[AIX Solaris HP-UX Linux Windows][IBM i]Is the service log file name.
[z/OS]startDateTime
[z/OS]Specifies the start date and time, in yyyy-MM-ddTHH:mm:ss.SSSZ format. Milliseconds and time zone are optional.
[z/OS]logStreamName
[z/OS]Is the name of the configured error log stream.
For examples of showlog scripts, see Viewing the service log.