Agentic Data Plane

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.

Usage

rpk ai auditlog get [flags]

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

Flags

Value Type Description

--fields

strings

fields to return (comma-separated); default all.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.