The Kubernetes object type that is automatically generated in response to changes with other resources. For example, "Event"
apiVersion
string
The version of the API group that contains the referred object. For example, "audit.k8s.io/v1"
level
string
The audit level at which the event occurred. For example, "Metadata"
auditID
string
The unique audit identification value, generated for each request. For example, "c5f48f91-d4da-4659-97eb-56bdbcd0817c"
stage
string
The stage of the request handling when the event instance was generated. For example, "RequestReceived"
requestURI
string
The request URI that the client sends to a server. For example, "/apis/fleet.gpc.gke.io/v1alpha1/namespaces/gpc-system/fleets/root?fieldManager=kubectl-edit"
verb
string
The Kubernetes verb associated with the request. For non-resource requests, this value is the lower-cased HTTP method. For example, "patch"
user
object
Information about username and groups of the authenticated user. For example,
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\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 }"]]