lbcli update logs sources
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 | |
--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). |
Last updated on
Was this page helpful?
Powered by DeveloperHub
Next to read:
lbcli update logs targets© 2026 Lightbits Labs™
Lightbits Command Line Interface