|
NAMEauditreduce —
select records from audit trail files
SYNOPSIS
DESCRIPTIONTheauditreduce utility selects records from the audit
trail files based on the specified criteria. Matching audit records are
printed to the standard output in their raw binary form. If no
file argument is specified, the standard input is used
by default. Use the
praudit(1)
utility to print the selected audit records in human-readable form.
The options are as follows:
EXAMPLESTo select all records associated with effective user ID root from the audit log /var/audit/20031016184719.20031017122634:auditreduce -e root \ /var/audit/20031016184719.20031017122634 To select all setlogin(2) events from that log: auditreduce -m AUE_SETLOGIN \ /var/audit/20031016184719.20031017122634 Output from the above command lines will typically be piped to a new trail file, or via standard output to the praudit(1) command. Select all records containing a path token where the pathname contains /etc/master.passwd: auditreduce -o file="/etc/master.passwd" \ /var/audit/20031016184719.20031017122634 Select all records containing path tokens, where the pathname is a TTY device: auditreduce -o file="/dev/tty[a-zA-Z][0-9]+" \ /var/audit/20031016184719.20031017122634 Select all records containing path tokens, where the pathname is a TTY except for /dev/ttyp2: auditreduce -o file="~/dev/ttyp2,/dev/tty[a-zA-Z][0-9]+" \ /var/audit/20031016184719.20031017122634 SEE ALSOpraudit(1), audit_control(5), audit_event(5)HISTORYThe OpenBSM implementation was created by McAfee Research, the security division of McAfee Inc., under contract to Apple Computer Inc. in 2004. It was subsequently adopted by the TrustedBSD Project as the foundation for the OpenBSM distribution.AUTHORSThis software was created by McAfee Research, the security research division of McAfee, Inc., under contract to Apple Computer Inc. Additional authors include Wayne Salamon, Robert Watson, and SPARTA Inc.The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems.
Visit the GSP FreeBSD Man Page Interface. |