anchorectl event

Event related operations.

Every command on this page also accepts the global flags.

Subcommands

  • event delete — Delete an event by its event ID or set of filters
  • event get — Lookup an event by its event ID
  • event list — Returns a paginated list of events in the descending order of their occurrence. Optional query parameters may be used for filtering results

event delete

Delete an event by its event ID or set of filters.

anchorectl event delete EVENT_ID [flags]

Aliases: del

Arguments

ArgumentDescription
EVENT_IDId of event to delete.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--allboolfalseNoDelete all events.
--beforestringANCHORECTL_EVENT_BEFORE""NoDelete events that occurred before the timestamp.
--forceboolANCHORECTL_EVENT_FORCEfalseNoForce without prompt.
--levelstringANCHORECTL_EVENT_LEVEL""NoDelete events that match the level - INFO or ERROR.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--sincestringANCHORECTL_EVENT_SINCE""NoDelete events that occurred after the timestamp.

event get

Lookup an event by its event ID.

anchorectl event get ID [flags]

Arguments

ArgumentDescription
IDEvent ID of the event for lookup.

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.

event list

Returns a paginated list of events in the descending order of their occurrence. Optional query parameters may be used for filtering results.

anchorectl event list [flags]

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
--allboolANCHORECTL_EVENT_ALLfalseNoReturn all events.
--beforestringANCHORECTL_EVENT_BEFORE""NoReturn events that occurred before the ISO8601 formatted UTC timestamp.
--event-typestringANCHORECTL_EVENT_TYPE""NoFilter events by a prefix match on the event type (e.g. “user.image.”).
--hoststringANCHORECTL_EVENT_SOURCE_HOST_ID""NoFilter events by the originating host ID.
--levelstringANCHORECTL_EVENT_LEVEL""NoFilter events by the level - INFO or ERROR.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
--pageintANCHORECTL_PAGE0NoReturn the nth page of results starting from 1. Defaults to first page if left empty.
--resource-idstringANCHORECTL_EVENT_RESOURCE_ID""NoFilter events by a specified resource ID.
--resource-typestringANCHORECTL_EVENT_RESOURCE_TYPE""NoFilter events by the type of resource - tag, imageDigest, repository etc.
--servicestringANCHORECTL_EVENT_SOURCE_SERVICE_NAME""NoFilter events by the originating service.
--sincestringANCHORECTL_EVENT_SINCE""NoReturn events that occurred after the ISO8601 formatted UTC timestamp.
Last modified September 22, 2026