lbcli update logs targets

Updates an existing log forwarding target.

Log streaming is currently in tech preview.

Synopsis

Updates an existing log forwarding target.

Only the flags you explicitly provide are changed; all other fields keep their current values. Use --type only when switching the target type (loki ↔ rsyslog); when changing type all type-specific flags become required.

Bash
Copy

Examples

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for targets.
--enabledbooltrueEnable this target immediately (default: true).
--endpointstringrsyslog server address as host:port or ip:port; e.g., siem.example.com:514 (required for type=rsyslog).
--loki-passwordstringLoki basic-auth password.
--loki-tlsstringName of a TLS bundle for Loki mutual TLS.
--loki-usernamestringLoki basic-auth username.
--namestringName of the log target (required).
--rsyslog-debugboolEnable rsyslog debug mode.
--rsyslog-timeoutstringrsyslog dial timeout; e.g., 5s.
--rsyslog-tlsstringName of a TLS bundle for rsyslog TLS transport.
--typestringTarget type: loki or rsyslog (required).
--urlstringLoki push URL including scheme, e.g., https://loki.example.com:3100 (required for type=loki).
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard