macOS
brew install lokilocal Homebrew formula metadata
brew
loki のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install lokilocal Homebrew formula metadata
sudo apk add lokiAlpine Linux edge package indexes · loki · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#lokinixpkgs package indexes · pkgs/by-name/lo/loki/package.nix · ソース: api.github.com
sudo pacman -S lokiArch Linux sync databases · loki · ソース: geo.mirror.pkgbuild.com
sudo zypper install lokiopenSUSE Tumbleweed package metadata · loki · ソース: download.opensuse.org
概要
Horizontally-scalable, highly-available log aggregation system
履歴
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.
セキュリティ状態
formula declares a Homebrew service.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.yaml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
loki | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/grafana/loki
インストールメタデータ
| パッケージキー | brew:loki |
|---|---|
| バージョン | 3.7.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/loki |
| ホームページ | https://grafana.com/oss/loki |
| リポジトリ | https://github.com/grafana/loki |
| 上流ドキュメント | https://grafana.com/docs/loki/latest |
| ライセンス | AGPL-3.0-only |
| ソースアーカイブ | https://github.com/grafana/loki/archive/refs/tags/v3.7.4.tar.gz |
| 最終更新 | 2026-07-24T10:29:51Z |
| Pulse | updated |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | declared |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 lokitoolソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.