Description:
Run LogQL queries against a Loki server
|
|
Type: Formula
|
Latest Version: 3.6.3@0
|
Tracked Since: Dec 11, 2025
|
|
Links:
Homepage |
@grafana |
formulae.brew.sh
|
|
Category: Developer tools
|
|
Tags:
loki
logging
devops
monitoring
logql
|
|
Install:
brew install logcli
|
About:
logcli is a command-line interface for querying Loki, the Grafana logging backend. It allows users to execute LogQL queries directly from the terminal without needing the Grafana UI. This tool is essential for debugging, ad-hoc log analysis, and integrating log queries into shell scripts.
|
Key Features:
- Executes LogQL queries against remote Loki instances
- Supports various output formats including default, raw, and JSON
- Tail logs in real-time using the --tail flag
- Works seamlessly with standard Unix pipes and redirection
|
Use Cases:
- Debugging application issues by querying logs directly from the terminal
- Automating log analysis by piping query results into CLI tools like jq or grep
- CI/CD pipelines to verify deployment success by querying logs programmatically
|
Alternatives:
-
curl
– Manual HTTP requests are verbose; logcli provides a structured interface for LogQL.
-
Grafana Explore
– The web UI is visual but less efficient for rapid text processing and scripting.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Dec 11, 2025 5:29pm |
|
0 |
VERSION_BUMP |
a873460b |
| Nov 25, 2025 8:09pm |
|
0 |
VERSION_BUMP |
207e3efd |
| Nov 21, 2025 5:58pm |
|
0 |
VERSION_BUMP |
ce35781e |
| Nov 19, 2025 12:45am |
|
0 |
VERSION_BUMP |
9fab7eee |
| Oct 13, 2025 11:16am |
|
0 |
VERSION_BUMP |
39c38d30 |
| Oct 10, 2025 4:43pm |
|
0 |
VERSION_BUMP |
0acba385 |
| Oct 10, 2025 11:04am |
|
0 |
VERSION_BUMP |
5db4212f |
| Sep 14, 2025 8:19pm |
|
0 |
VERSION_BUMP |
7a110674 |
| Dec 21, 2024 5:35pm |
|
0 |
VERSION_BUMP |
5b3efe6b |
| Dec 21, 2024 9:38am |
|
0 |
VERSION_BUMP |
02a8db8d |
| Dec 5, 2024 6:28am |
|
0 |
VERSION_BUMP |
de514a55 |
| Sep 14, 2024 10:25pm |
|
0 |
VERSION_BUMP |
6602e8ff |
| Sep 14, 2024 11:39am |
|
0 |
VERSION_BUMP |
f7481574 |
|