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 get logs targets
Copy Markdown
Open in ChatGPT
Open in Claude
Gets a single log target by name.
Log streaming is currently in tech preview.
Synopsis
Retrieves the full configuration of a single log forwarding target by its name.
Bash
xxxxxxxxxxlbcli get logs targets [flags]Examples
Bash
xxxxxxxxxx# Get the log target named "loki-prod"lbcli -J $JWT get logs targets --name=loki-prod # Get in JSON formatlbcli -J $JWT get logs targets --name=rsyslog-siem -o json| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for target. | |
| --name | string | Name of the log target (required). |
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 get logs tls-bundles© 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