get

Retrieve a log from a logging pipeline

Usage

ionosctl logging-service logs get [flags]

Description

Retrieve a log from a logging pipeline

Options

  -u, --api-url string       Override default host URL (default "https://logging.de-txl.ionos.com")
      --cols strings         Set of columns to be printed on output 
                             Available columns: [Tag Source Protocol Public Destinations] (default [Tag,Source,Protocol,Public,Destinations])
  -c, --config string        Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
  -f, --force                Force command to execute without user input
  -h, --help                 Print usage
  -l, --location string      Location of the resource to operate on. Can be one of: de/txl, de/fra, gb/lhr, fr/par, es/vit
      --log-tag string       The tag of the pipeline log that you want to retrieve (required)
      --no-headers           Don't print table headers when table output is used
  -o, --output string        Desired output format [text|json|api-json] (default "text")
  -i, --pipeline-id string   The ID of the logging pipeline (required)
  -q, --quiet                Quiet output
  -v, --verbose              Print step-by-step process when running command

Examples

ionosctl logging-service logs get --pipeline-id ID --log-tag TAG

Last updated