lbcli delete logs targets
Deletes a log forwarding target.
Synopsis
Deletes a log forwarding target by name.
Deletion will fail with a FailedPrecondition error if any TLS bundle referenced by the target is still in use. Delete the TLS bundle only after the target that uses it has been removed.
lbcli delete logs targets [flags]
Examples
# Delete the log target named "loki-prod"
lbcli -J $JWT delete logs targets --name=loki-prod
Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | Help for | |
--name | string | Name of the log target to delete (required). |
Last updated on
Was this page helpful?
Powered by DeveloperHub
Next to read:
lbcli delete logs tls-bundles© 2026 Lightbits Labs™
Lightbits Command Line Interface