Journaux d'audit du protocole de journalisation du système (syslog)

Différents composants de GDC produisent leurs journaux d'audit au format syslog standard, conformément à la spécification RFC-5424. Pour en savoir plus, consultez https://datatracker.ietf.org/doc/html/rfc5424.

Représentation JSON

{
  "pid": string,
  "pri": string,
  "hostname": string,
  "ident": string,
  "msgid": string,
  "extradata": string,
  "message": string
}
Champs
pid

string

ID du processus de l'application à l'origine du message. Par exemple : "1"

pri

string

Valeur de priorité. Par exemple : "46"

hostname

string

Composant ayant envoyé le message syslog. Par exemple : "anthos-audit-logs-forwarder-2kbnd"

ident

string

Appareil ou application à l'origine du message. Par exemple : "/logging-prober-sidecar"

msgid

string

Type du message. Par exemple : "audit-log"

extradata

string

Informations personnalisées supplémentaires. Par exemple : "[exampleSDID@20224 iut=\"3\" eventSource=\"Application\" eventID=\"11211\"]"

message

string

Message au format libre fournissant des informations sur l'événement. Par exemple,

"{\"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\"}"