Lightbits CLI Reference Guide
3.19.x
Lightbits Command Line Interface
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
lbcli create logs
Copy Markdown
Open in ChatGPT
Open in Claude
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:
- (optional) Create a tls-bundle if your log target uses TLS/mTLS.
- Create a target pointing at your Loki or rsyslog endpoint.
- Create or update sources to enable the log streams you want.
- Check collector status to confirm that agents are running and healthy.
Log streaming is currently in tech preview.
Bash
xxxxxxxxxxlbcli create logs <RESOURCE> [flags]| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for logs. |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
lbcli create logs sources© 2026 Lightbits Labs™
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message