Offline docs (switch to live docs)                        

How to review audit logs

Errors or typos? Topics missing? Hard to read? Let us know.

Audit events are a subset of the MAAS event logs. This page provides reference material for those who want to review and report on events designated as MAAS audit events.

Auditing MAAS

MAAS audit events can be viewed using the CLI with a command similar to the following:

maas $PROFILE events query level=AUDIT

Such a command would produce JSON output like this:

These MAAS audit events consist of the following information:

name description
AUTHORISATION Authorisation
IMAGES Images
NETWORKING Networking
NODE Node
NODE_HARDWARE_SYNC_BLOCK_DEVICE Node Block Device hardware sync state change
NODE_HARDWARE_SYNC_BMC Node BMC hardware sync state change
NODE_HARDWARE_SYNC_CPU Node CPU hardware sync state change
NODE_HARDWARE_SYNC_INTERFACE Node Interface hardware sync state change
NODE_HARDWARE_SYNC_MEMORY Node Memory hardware sync state change
NODE_HARDWARE_SYNC_PCI_DEVICE Node PCI Device hardware sync state change
NODE_HARDWARE_SYNC_USB_DEVICE Node USB Device hardware sync state change
POD Pod
SETTINGS Settings
TAG Tag
ZONES Zones

For information on how to use these audit events to answer specific questions, see How to work with audit event logs.