auditreport

This command displays an audit report generated from the audit database.

Syntax

Enter the command using the syntax shown below. Available options are shown in brackets.

zosadmin auditreport [--username=] [--from=] [--to=] [--limit=] [--grid=] [--childjobs] [--table=] 

Options

When you add an option, use the syntax in the command line as shown above (where options are shown in their long form). Short and long options for this command are listed below.

-m, --username <value>

Specify the username of the user who ran the job (default is all users).

-F, --from <value>

Select jobs submitted on or after this date. For example, Fri, 12 Oct 2007 or Fri, 12 Oct 2007 13:30:00. The default day is the current day.

-T, --to <value>

Select jobs submitted on or before this date. For example, Fri, 12 Oct 2007 or Fri, 12 Oct 2007 13:30:00. The default day is the current time.

-L, --limit <value>

Limit the number of jobs reported (the default is 500).

-g, --grid <value>

Specify a different grid (by ID). Use ‘*’ to match all. Include the single quotes only in a shell environment.

-I, --childjobs

Include child jobs (the default is root jobs only).

-t, --table <value>

Specify the table (workflow, actions). The default is “workflow.”

-V, --debug

Turn on debug output during this operation.

-v, --verbose

Turn on verbose output during this operation.

-h, --help

Display a help message for this operation.

Examples

Example 1

To display a report of job records for the logged in grid, use the following command:

zosadmin auditreport

Example 2

To display a report of action status records for the logged in grid, use the following command:

zosadmin auditreport --table=actions