lbcli update logs sources

AI Tools

Updates an existing log source.

Synopsis

Updates the configuration of an existing log source.

Only the flags you explicitly provide are changed; all other fields keep their current values.

lbcli updated logs sources [flags]

Examples

# Raise minimum level to warn (all other settings unchanged) lbcli -J $JWT update logs sources \ --name=node-manager \ --min-level=warn # Disable a source without touching any other field lbcli -J $JWT update logs sources \ --name=api-service \ --enabled=false # Change the journald identifier lbcli -J $JWT update logs sources \ --name=node-manager \ --journald-id=node-manager-v2

Flag

Short

Type

Default

Description

--help

-h

bool


Help for sources.

--enabled


bool


Enable (true) or disable (false) this source.

--file-paths


stringSlice


Comma-separated file glob patterns.

--journald-id


string


Journald syslog identifier to collect from.

--label


stringArray


Label in key=value format (repeatable, file sources only)

--log-format


string


Log format hint: zap-json, logfmt, duroslight-text, gftl-text, unstructured.

--min-level


string


Minimum log severity: debug, info, warn, error.

--name


string


Name of the log source to update (required).