Audit message format
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-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
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 are not listed in any particular order.
The following list describes the attribute elements:
ATTRis 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.
typeis 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
valueis 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