Create a Report of Events
To get an overview of the events logged by audit, use the aureport -e command.
This command generates a numbered list of all events including date, time, event
number, event type, and audit ID.
aureport -e
Event Report
===========================
# date time event type auid
===========================
1. 04/23/2007 08:00:01 AM 1507 USER_ACCT unset
2. 04/23/2007 08:00:01 AM 1508 CRED_ACQ unset
3. 04/23/2007 08:00:01 AM 1509 LOGIN root
4. 04/23/2007 08:00:01 AM 1510 USER_START root
Create a Report from All Process Events
To analyze the log from a process's point of view, use the aureport -p command. This command generates a numbered list of all process events including
date, time, process ID, name of the executable, system call, audit ID, and event
number.
aureport -p
Process ID Report
======================================
# date time pid exe syscall auid event
======================================
1. 04/23/2007 08:00:01 PM 13097 /usr/sbin/cron 0 unset 1888
2. 04/23/2007 08:00:01 PM 13097 /usr/sbin/cron 0 unset 1889
3. 04/23/2007 08:00:01 PM 13097 ? 0 root 1890
Create a Report from All System Call Events
To analyze the audit log from a system call's point of view, use the aureport
-s command. This command generates a numbered list of all system call events
including date, time, number of the system call, process ID, name of the command
that used this call, audit ID, and event number.
aureport -s
Syscall Report
=======================================
# date time syscall pid comm auid event
=======================================
1. 04/23/2007 08:04:08 PM 5 13374 file root 1900
2. 04/23/2007 08:04:08 PM 5 13376 file root 1901
3. 04/23/2007 08:04:08 PM 5 13368 less root 1902
24 The Linux Audit Framework