Keptn v1 reached EOL December 22, 2023. For more information see https://bit.ly/keptn
This documentation is for an older Keptn release. Please consider the newest one when working with the latest Keptn.

keptn get event

keptn get event

Returns the latest Keptn event specified by event type

Synopsis

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]

Options

      --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)

Options inherited from parent commands

      --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

SEE ALSO

Auto generated by spf13/cobra on 17-Feb-2022