Google Distributed Cloud (GDC) 實體隔離方案中的系統記錄通訊協定 (syslog) 稽核記錄,可讓您監控系統元件的作業和安全性事件。這些元件會根據 RFC 5424 syslog 規格,使用結構化標頭屬性和 JSON 事件訊息,設定稽核記錄項目的格式。
JSON 表示法
{
"pid": string,
"pri": string,
"hostname": string,
"ident": string,
"msgid": string,
"extradata": string,
"message": string
}
| 欄位 | |
|---|---|
pid |
訊息來源應用程式的程序 ID。例如 |
pri |
優先順序值。例如 |
hostname |
最初傳送系統記錄訊息的元件。例如 |
ident |
傳送訊息的裝置或應用程式。例如 |
msgid |
訊息類型。例如 |
extradata |
其他自訂資訊。例如 |
message |
提供事件相關資訊的訊息 (格式不限)。例如,假設使用者要求系統 將文字從英文翻譯成法文 "{\"time\":\"2024-01-24T17:24:55.076954537Z\",\"auditID\":\"7ab3bf57-67cb-4373-bbf6-b3ad0835cc65\",\"user\":{\"identity\":\"audit-log-writer\"},\"resource\":\"41075\",\"action\":\"-\",\"description\":\"This is a prober testing the functionality of the syslog endpoint\",\"userAgent\":\"audit-log-prober\",\"response\":\"-\",\"_gdch_org\":\"-\",\"_gdch_service\":\"audit-log-prober\"}" |