add
Add a log to a logging pipeline
Usage
ionosctl logging-service logs add [flags]
Description
Add a log to a logging pipeline
Options
-u, --api-url string Override default host url (default "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
--log-labels strings Sets the labels for the pipeline log
--log-protocol string Sets the protocol for the pipeline log. Can be one of: http, tcp (required)
--log-retention-time string Sets the retention time in days for the pipeline log. Can be one of: 7, 14, 30 (default "30")
--log-source string Sets the source for the pipeline log. Can be one of: docker, systemd, generic, kubernetes (required)
--log-tag string Sets the tag for the pipeline log (required)
--log-type string Sets the destination type for the pipeline log (default "loki")
--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 add --pipeline-id ID --log-tag TAG --log-source SOURCE --log
-protocol PROTOCOL
Last updated