Showlog commands for Common Base Events
The showlog command converts the service log from binary format into plain text.
Purpose
These showlog commands to produce output in Common Base Event XML format.
- (dist) showlog -format CBE-XML-1.0.1 filename
- (iseries) showlog -format CBE-XML-1.0.1 filename
- (zos) showlog -start startDateTime -format CBE-XML-1.0.1 logStreamName
where:
- (dist)(iseries) filename
- Is the service log file name.
- (zos) startDateTime
- Start date and time, in yyyy-MM-ddTHH:mm:ss.SSSZ format. Milliseconds and time zone are optional.
- (zos) logStreamName
- Is the name of the configured error log stream.
For examples of showlog scripts, see Viewing the service log.
Related tasks
View the service log (zos) Generating messages in Common Base Event format
(zos) Logstream size considerations