lbcli delete logs targets

AI Tools

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

--name


string


Name of the log target to delete (required).