Automic VaultAutomic Vault

brew

loki を Homebrew, apk, apt, Nix, pacman, zypper でインストール

loki のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install loki

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add loki

Alpine Linux edge package indexes · loki · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install loki

Debian stable package indexes · loki · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#loki

nixpkgs package indexes · pkgs/by-name/lo/loki/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S loki

Arch Linux sync databases · loki · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install loki

openSUSE 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.

タイムライン

  • 2018: Loki project starts at Grafana Labs and is announced at KubeCon Seattle.
  • 2019: Grafana Labs announces Loki 1.0 general availability.
  • 2022: Grafana Labs describes Loki as its second most popular OSS project behind Grafana.
  • 2026: Loki 3.7.x releases are active in the official GitHub repository.

Related projects

  • Loki is designed to pair with Grafana for visualization and with Prometheus-style labels for correlation with metrics.
  • Promtail was the original log collection agent in many Loki deployments, while Grafana Alloy is now the recommended forward-looking collector in the README.

セキュリティ状態

リスクレベル: orange

formula declares a Homebrew service.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • formula declares a Homebrew service

信号

  • metadata:service

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • formula メタデータがサービスまたはデーモンブロックを宣言しています。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./config.yaml./config/config.yamlloki.yaml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
lokicliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版3.7.4
マネージャ更新日2026-07-24
ローカルデータOK
上流最新
検出された最新v3.7.4

https://github.com/grafana/loki

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービスdeclared

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameloki
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

loki 2.4.7.4-12

MCMC linkage analysis on general pedigrees

sudo apt install loki
  • Section: science
  • Architecture: amd64
  • 1 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Loki
Debian stable package indexes · deb.debian.org · Debian stable package indexes: loki from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

loki-doc 2.4.7.4-12

MCMC linkage analysis on general pedigrees (PS manual)

sudo apt install loki-doc
  • Section: doc
  • Architecture: all
  • Source Package: loki
  • normalized package name match
  • 一致条件: Loki
Debian stable package indexes · deb.debian.org · Debian stable package indexes: loki-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

loki

nix profile install nixpkgs#loki
  • normalized package name match
  • 一致条件: Loki
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lo/loki/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

loki 2.4.7.4-10

MCMC linkage analysis on general pedigrees

sudo apt install loki
  • Section: universe/science
  • Architecture: amd64
  • 1 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Loki
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: loki from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

loki-doc 2.4.7.4-10

MCMC linkage analysis on general pedigrees (PS manual)

sudo apt install loki-doc
  • Section: universe/science
  • Architecture: all
  • Source Package: loki
  • normalized package name match
  • 一致条件: Loki
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: loki-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

loki 3.7.2-r0

Like Prometheus, but for logs

https://github.com/grafana/loki

sudo apk add loki
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: loki
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Loki
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: loki from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

loki-canary 3.7.2-r0

Loki auditing program

https://github.com/grafana/loki

sudo apk add loki-canary
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: loki
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Loki
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: loki-canary from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

loki-logcli 3.7.2-r0

Loki log client

https://github.com/grafana/loki

sudo apk add loki-logcli
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: loki
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Loki
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: loki-logcli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

loki-lokitool 3.7.2-r0

Tool for interracting with Loki rules

https://github.com/grafana/loki

sudo apk add loki-lokitool
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: loki
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Loki
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: loki-lokitool from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

loki-openrc 3.7.2-r0

Like Prometheus, but for logs (OpenRC init scripts)

https://github.com/grafana/loki

sudo apk add loki-openrc
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: loki
  • normalized package name match
  • 一致条件: Loki
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: loki-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

loki 3.6.6-1

like Prometheus, but for logs

https://github.com/grafana/loki

sudo pacman -S loki
  • License: AGPL-3.0-only AND Apache-2.0
  • Architecture: x86_64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Loki
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: loki from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

logcli 3.7.2-1.1

LogCLI tool

https://grafana.com/loki

sudo zypper install logcli
  • License: Apache-2.0
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: loki
  • 1 提供
  • normalized package name match
  • 一致条件: Loki
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: logcli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

loki 3.7.2-1.1

Loki: like Prometheus, but for logs

https://grafana.com/loki

sudo zypper install loki
  • License: Apache-2.0
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: loki
  • 7 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Loki
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: loki from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

lokitool 3.7.2-1.1

A command-line tool to manage Loki

https://grafana.com/loki

sudo zypper install lokitool
  • License: Apache-2.0
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: loki
  • 1 提供
  • normalized package name match
  • 一致条件: Loki
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lokitool from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment