[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eKubernetes event logs, collected by operable components, document resource state changes within clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content details the structure of a Kubernetes audit event log, including fields like \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003eapiVersion\u003c/code\u003e, \u003ccode\u003elevel\u003c/code\u003e, and \u003ccode\u003eauditID\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach audit log entry includes a JSON representation containing detailed information about the request, user, and targeted object, such as request URI, verb, user details, and object reference.\u003c/p\u003e\n"],["\u003cp\u003eThe logs capture temporal information with \u003ccode\u003erequestReceivedTimestamp\u003c/code\u003e and \u003ccode\u003estageTimestamp\u003c/code\u003e fields, detailing when the request reached the apiserver and the current audit stage, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esourceIPs\u003c/code\u003e field in the logs is an ordered list of IP addresses from the source and intermediate proxies.\u003c/p\u003e\n"]]],[],null,["# Kubernetes audit logs\n\nOperable components record and collect Kubernetes event logs that hold information about resource state changes in clusters.\n| **Note:** This page contains an extract of the Kubernetes public audit documentation. For more information, see [`type Event` of the audit package](https://pkg.go.dev/k8s.io/apiserver/pkg/apis/audit#Event). To access this URL, you must connect to the internet. The URL is provided to access outside of your air-gapped environment.\n\n**JSON representation** \n\n {\n \"kind\": string,\n \"apiVersion\": string,\n \"level\": string,\n \"auditID\": string,\n \"stage\": string,\n \"requestURI\": string,\n \"verb\": string,\n \"user\": {\n object\n },\n \"sourceIPs\": [\n string array\n ],\n \"userAgent\": string,\n \"objectRef\": {\n object\n },\n \"requestReceivedTimestamp\": string,\n \"stageTimestamp\": string,\n \"hostname\": string\n }"]]