lbcli create logs

Creates a log-streaming configuration resource.

Log streaming is currently in tech preview.

Synopsis

Creates a log-streaming configuration for the Lightbits cluster.

Log streaming is configured through four resource types:

  • sources - log collection points (journald units or file globs) that describe which logs are collected on each node.
  • targets - log forwarding destinations (Loki push API or rsyslog) where collected logs are shipped.
  • tls-bundles - named TLS credential sets (CA cert, optional client cert/key) referenced by targets that require encrypted transport.
  • collectors - read-only view of Alloy log-collector agent heartbeat state per cluster node.

Typical setup workflow:

  1. (optional) Create a tls-bundle if your log target uses TLS/mTLS.
  2. Create a target pointing at your Loki or rsyslog endpoint.
  3. Create or update sources to enable the log streams you want.
  4. Check collector status to confirm that agents are running and healthy.

Log streaming is currently in tech preview.

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for logs.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard