auformat is a utility to convert the output from ausearch or aureport into another format for either viewing or further processing.
Example (as root):
ausearch -i -ts recent | auformat
Will turn the audit log into XML.
ausearch -i -ts recent | auformat -f html -o audit.html
Will turn the audit log into HTML and write it to the audit.html file.
aureport -e -i | auformat -f csv
Will turn the output from aureport into csv.
The basic requirements are:
- Perl module XML::Writer
For translations either:
The Perl modules should be available in your distribution's package repositories.
The currently supported output formats are as follows.
- Back to original
The available formats can be listed by typing
auformat -l. The
output formats are easily extensible by writing an XSLT to transform the XML
produced from the tool and placing the file in the
Latest release: 2013-09-14