Home / Keptn v1 Docs / Release 0.14.x / Reference / Keptn CLI / Commands / keptn get event
Returns the latest Keptn event specified by event type
Returns the latest Keptn event specified by event type. The event type is defined here: https://github.com/keptn/spec/blob/0.1.4/cloudevents.md
keptn get event [eventType] [flags]
--keptn-context string The ID of a Keptn context from which to retrieve the event
--num-of-pages int Number of pages that should be returned (Default 1). (default 100)
-o, --output string Output format for the --watch flag. One of: json|yaml
--page-size string Max number of return events per page (Default 1)
--project string The Keptn project name from which to retrieve the event
--service string The name of a service within a project from which to retrieve the event
--stage string The name of a stage within a project from which to retrieve the event
-w, --watch Print event stream
--watch-time int Timeout (in seconds) used for the --watch flag (default 2147483647)
--config-file string Specify custom Keptn Config file path (default: ~/.keptn/config)
-h, --help help
--mock Disables communication to a Keptn endpoint
-n, --namespace string Specify the namespace where Keptn should be installed, used and uninstalled in (default "keptn")
-q, --quiet Suppresses debug and info messages
-v, --verbose Enables verbose logging to print debug messages
-y, --yes Assume yes for all user prompts