auformat
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.
Requirements
The basic requirements are:
- Perl
- Perl module XML::Writer
For translations either:
- Perl module XML::LibXSLT
- libxslt-tools
The Perl modules should be available in your distribution's package repositories.
Output Formats
The currently supported output formats are as follows.
- XML
- CSV
- JSON
- HTML
- 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 transform directory.
ausearch Example
aureport Example
Download
Latest release: 2013-09-14