macOS
brew install lokilocal Homebrew formula metadata
brew
Horizontally-scalable, highly-available log aggregation system. Version 3.7.3 via Homebrew; verified 2026-06-26.
install
brew install lokilocal Homebrew formula metadata
sudo apk add lokiAlpine Linux edge package indexes · loki · source: dl-cdn.alpinelinux.org
sudo apt install lokiDebian stable package indexes · loki · source: deb.debian.org
nix profile install nixpkgs#lokinixpkgs package indexes · pkgs/by-name/lo/loki/package.nix · source: api.github.com
sudo pacman -S lokiArch Linux sync databases · loki · source: geo.mirror.pkgbuild.com
sudo zypper install logcliopenSUSE Tumbleweed package metadata · logcli · source: download.opensuse.org
overview
Horizontally-scalable, highly-available log aggregation system
history
Grafana Loki is a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus. Its core design indexes labels rather than full log contents, aiming to make log storage cheaper and easier to operate.
Grafana Labs started Loki in 2018 and announced it at KubeCon Seattle. The official repository was created in April 2018 and describes the project as 'like Prometheus, but for logs.'
Loki was designed around labels, compressed unstructured logs, and integration with Grafana. The README explains that a Loki-based stack includes the Loki service, Grafana for querying and visualization, and a log collection agent; current docs identify Grafana Alloy as the forward-looking agent while Promtail is considered feature complete.
Grafana announced the general availability of Loki 1.0 in November 2019. By the 3.x series, Loki had grown into one of Grafana Labs' major OSS projects, with active documentation for single-binary, simple scalable, and microservices deployment modes.
Loki's adoption followed cloud-native observability patterns: Prometheus users already had label conventions, Grafana dashboards, and a need to correlate metrics and logs without paying the storage cost of full-text log indexing.
Grafana's official OSS pages and yearly open-source recap describe Loki as a major Grafana Labs project, and the repository shows broad adoption with tens of thousands of stars, thousands of forks, active releases, and an `ADOPTERS.md` process for organizations using Loki.
The supplied package facts show package-manager availability through Homebrew, Alpine, Debian, Ubuntu, Arch, Nix, and openSUSE-related packaging, with `logcli` also packaged separately in some ecosystems.
Loki is usually launched with a YAML configuration file, commonly called `loki.yaml`, passed through `-config.file`. The official README's source build example runs `./cmd/loki/loki -config.file=./cmd/loki/loki-local-config.yaml`, and the docs show Docker examples using `/etc/loki/local-config.yaml`.
Operators send logs to Loki with agents such as Grafana Alloy, then query them from Grafana using LogQL. Loki's distinction is that labels are indexed, while log lines remain compressed payloads.
For package nerds, Loki is the observability-era package that made 'logs as Prometheus-shaped data' a concrete binary and config file. It is large enough to need Helm charts, Docker images, agents, and CLI companions, but still keeps a recognizable single-service local mode for packaging and testing.
security posture
formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./config.yaml./config/config.yamlloki.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
loki | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/grafana/loki
install metadata
| Package key | brew:loki |
|---|---|
| Version | 3.7.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/loki |
| Homepage | https://grafana.com/oss/loki |
| Repository | https://github.com/grafana/loki |
| Upstream docs | https://grafana.com/docs/loki/latest |
| License | AGPL-3.0-only |
| Source archive | https://github.com/grafana/loki/archive/refs/tags/v3.7.3.tar.gz |
| Last updated | 2026-06-26T00:47:42Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | loki |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
loki 2.4.7.4-12
MCMC linkage analysis on general pedigrees
sudo apt install lokiloki-doc 2.4.7.4-12
MCMC linkage analysis on general pedigrees (PS manual)
sudo apt install loki-docloki
nix profile install nixpkgs#lokiloki 2.4.7.4-10
MCMC linkage analysis on general pedigrees
sudo apt install lokiloki-doc 2.4.7.4-10
MCMC linkage analysis on general pedigrees (PS manual)
sudo apt install loki-docloki 3.7.2-r0
Like Prometheus, but for logs
https://github.com/grafana/loki
sudo apk add lokiloki-canary 3.7.2-r0
Loki auditing program
https://github.com/grafana/loki
sudo apk add loki-canaryloki-logcli 3.7.2-r0
Loki log client
https://github.com/grafana/loki
sudo apk add loki-logcliloki-lokitool 3.7.2-r0
Tool for interracting with Loki rules
https://github.com/grafana/loki
sudo apk add loki-lokitoolloki-openrc 3.7.2-r0
Like Prometheus, but for logs (OpenRC init scripts)
https://github.com/grafana/loki
sudo apk add loki-openrcloki 3.6.6-1
like Prometheus, but for logs
https://github.com/grafana/loki
sudo pacman -S lokilogcli 3.7.2-1.1
LogCLI tool
sudo zypper install logcliloki 3.7.2-1.1
Loki: like Prometheus, but for logs
sudo zypper install lokilokitool 3.7.2-1.1
A command-line tool to manage Loki
sudo zypper install lokitoolsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.