Journaux d'audit du protocole de journalisation du système (syslog)
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
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.
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\"}"
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eGDC components generate audit logs in a standard syslog format, adhering to the RFC-5424 specification.\u003c/p\u003e\n"],["\u003cp\u003eThe audit logs are represented in JSON format, containing fields like \u003ccode\u003epid\u003c/code\u003e, \u003ccode\u003epri\u003c/code\u003e, \u003ccode\u003ehostname\u003c/code\u003e, \u003ccode\u003eident\u003c/code\u003e, \u003ccode\u003emsgid\u003c/code\u003e, \u003ccode\u003eextradata\u003c/code\u003e, and \u003ccode\u003emessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emessage\u003c/code\u003e field contains a free-form text message that includes detailed information about the event, such as time, audit ID, user, and resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehostname\u003c/code\u003e field indicates the component that originally sent the message, whereas \u003ccode\u003eident\u003c/code\u003e specifies the device or application source.\u003c/p\u003e\n"],["\u003cp\u003eThe field \u003ccode\u003emsgid\u003c/code\u003e specify the type of the message that is being logged, for example "audit-log".\u003c/p\u003e\n"]]],[],null,["# System logging protocol (syslog) audit logs\n\nVarious components in GDC produce their audit logs using a standard syslog format according to the RFC-5424 specification. For more information, see \u003chttps://datatracker.ietf.org/doc/html/rfc5424\u003e.\n\n**JSON representation** \n\n {\n \"pid\": string,\n \"pri\": string,\n \"hostname\": string,\n \"ident\": string,\n \"msgid\": string,\n \"extradata\": string,\n \"message\": string\n }"]]