Skip to main content

Audit message format: Overview

Contributors netapp-perveilerk netapp-madkat ssantho3 netapp-lhalbert

Audit messages exchanged within the StorageGRID system include standard information common to all messages and specific content describing the event or activity being reported.

If the summary information provided by the audit-explain and audit-sum tools is insufficient, refer to this section to understand the general format of all audit messages.

The following is an example audit message as it might appear in the audit log file:


Each audit message contains a string of attribute elements. The entire string is enclosed in brackets ([ ]), and each attribute element in the string has the following characteristics:

  • Enclosed in brackets [ ]

  • Introduced by the string AUDT, which indicates an audit message

  • Without delimiters (no commas or spaces) before or after

  • Terminated by a line feed character \n

Each element includes an attribute code, a data type, and a value that are reported in this format:


The number of attribute elements in the message depends on the event type of the message. The attribute elements aren't listed in any particular order.

The following list describes the attribute elements:

  • ATTR is a four-character code for the attribute being reported. There are some attributes that are common to all audit messages and others that are event-specific.

  • type is a four-character identifier of the programming data type of the value, such as UI64, FC32, and so on. The type is enclosed in parentheses ( ).

  • value is the content of the attribute, typically a numeric or text value. Values always follow a colon (:). Values of data type CSTR are surrounded by double quotes " ".