$linuxjunkies
>

aureport(8)

Generates audit framework reports from the Linux audit logs.

UbuntuDebianFedoraArch

Synopsis

aureport [options] [--summary] [--detail]

Description

aureport is a command-line tool that processes audit logs from the Linux Audit framework and generates human-readable reports. It can summarize audit events by type, user, executable, or other fields, and can filter reports by date range, event type, or other criteria.

By default, aureport generates a summary report. Use --detail to see individual events, or combine with field-specific options like --user, --file, or --executable to focus on particular audit subjects.

Common options

FlagWhat it does
--summaryGenerate summary report (default behavior)
--detailShow individual audit events with full details
--userReport on events by user (UID or username)
--fileReport on file access and modification events
--executableReport on executed commands and programs
--eventReport on specific event types
--startStart date for report (format: MM/DD/YYYY or today, recent)
--endEnd date for report (format: MM/DD/YYYY)
--interpretConvert numeric values to human-readable names
-iShorthand for --interpret
--input FILERead audit log from specified file instead of system log
--output FILEWrite report output to specified file

Examples

Display summary of all audit events by type

aureport

Show detailed report with individual audit events

aureport --detail

Report audit events grouped by user with human-readable names

aureport --user --interpret

Summarize audit events by executable program run

aureport --executable --summary

Report file access events between specified dates

aureport --file --start 01/15/2024 --end 01/20/2024

Generate event report from a specific audit log file

aureport --event --input /var/log/audit/audit.log

Show last 50 detailed audit events for user 'bob' with readable output

aureport --detail --user bob --interpret | tail -50

Generate summary report and save to file

aureport --summary --output report.txt

Related commands