rpk ai auditlog get
Read one audit log entry with every field, including the request and entity
bodies that list leaves out. -o yaml is the readable form for those. --fields
narrows the entry to the named fields.
get reads one event, not a grouped call, so its resources field is never filled. When a list row shows a resource_count above 1, the call’s members come from '`rpk ai auditlog list --correlation-id` <correlation_id>', one row per resource; each member’s id works with get.
Exit codes: 0 on success; 1 on an error, including an unknown id; 3 when not authenticated or missing the dataplane_adp_auditlog_list permission.
Examples
This section provides examples of how to use rpk ai auditlog get.
rpk ai auditlog get 1791393600123-6b0d2c1e-... -o yaml
rpk ai auditlog get 1791393600123-6b0d2c1e-... --fields entity_before,entity_after
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |