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:

For translations either:

The Perl modules should be available in your distribution's package repositories.

Output Formats

The currently supported output formats are as follows.

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

ausearch -iXMLCSVJSONHTML
See example

aureport Example

aureport -u -iXMLCSVJSONHTML
See example.

Download

Latest release: 2013-09-14

Copyright © Nick Sydenham <n-nospam-sydenham@yahoo.co.uk>