Schema
All FortiRecorder log messages have a timestamp and then key-value pair fields. Fields are organized into a header and a body.
- Header — Located at the start of all log messages. Contains the event timestamp, a log identifier (
log_id) , thetypeandsubtype, and then the severity level (pri) of the event. Some fields (devidandlog_part) vary by remote storage of logs, and by log message length. - Body — Located after the header fields. Contains the message (
msg) field. Other body fields vary by type or subtype, such as the associated user name (if any), and actions (if any) that the FortiRecorder appliance took to respond to the event
For example, in the following log message, the fields in bold are the header. The remaining fields are the body.
2023-10-20 13:53:59.297 log_id=0801000001 type=kevent subtype=admin pri=information user=admin ui=ssh(172.20.130.28) action=login status=success reason=none msg="User admin logged in successfully from ssh(172.20.130.28)"
This chapter describes the log message schema: each field and when it occurs.
|
|
Fields are listed in the order of appearance in raw log messages. If you use a table format instead — for example, the FortiRecorder GUI, a SIEM, or spreadsheet software — columns can be hidden and/or rearranged. Fields may appear in a different order than in this document. Some fields may be hidden in the table view. Fields that vary by
|