lbcli get logs targets

AI Tools

Gets a single log target by name.

Synopsis

Retrieves the full configuration of a single log forwarding target by its name.

lbcli get logs targets [flags]

Examples

# Get the log target named "loki-prod" lbcli -J $JWT get logs targets --name=loki-prod # Get in JSON format lbcli -J $JWT get logs targets --name=rsyslog-siem -o json

Flag

Short

Type

Default

Description

--help

-h

bool


Help for target.

--name


string


Name of the log target (required).