# 使用 Homebrew, Nix, apk 安装 victorialogs

查看 victorialogs 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:victorialogs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install victorialogs
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#victorialogs
```

  证据: nixpkgs package indexes: pkgs/by-name/vi/victorialogs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- apk (92%):

```sh
sudo apk add victoria-logs
```

  证据: Alpine Linux edge package indexes: victoria-logs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

## 软件包事实

- **软件包键:** brew:victorialogs
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/victorialogs>
- **版本:** 1.52.0
- **来源摘要:** Open source user-friendly database for logs from VictoriaMetrics
- **主页:** <https://docs.victoriametrics.com/victorialogs/>
- **仓库:** <https://github.com/VictoriaMetrics/VictoriaLogs>
- **上游文档:** <https://docs.victoriametrics.com/victorialogs/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/VictoriaMetrics/VictoriaLogs/archive/refs/tags/v1.52.0.tar.gz>
- **最后更新:** 2026-07-26T00:30:33+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- victoria-logs (cli)
- victoria-logs (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.52.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/VictoriaMetrics/VictoriaLogs
- 检测到的最新版本: v1.52.0 (当前)
## 项目历史与用法

VictoriaLogs is VictoriaMetrics' open source database for logs. It is positioned as a lightweight, zero-config, schema-free log database that can scale vertically and horizontally, with both single-node and cluster deployments available under an open source license.

### 项目历史

VictoriaLogs emerged from the VictoriaMetrics observability ecosystem as a logs counterpart to the company's metrics database. Public issue history shows VictoriaLogs development and bug-fix references by 2023, while VictoriaMetrics announced the general availability release on 2024-11-13.

The project later received its own public repository, created on 2025-07-06, while remaining closely tied to VictoriaMetrics documentation, community channels, release practices, and observability components. The repository describes VictoriaLogs as handling deployments from very small installations to large-scale setups processing terabytes per day.

### 采用历史

VictoriaMetrics reported in late 2023 that VictoriaLogs was expected to exceed 10,000 downloads within six months of launch, then announced GA in November 2024 as an open source log-management solution for large log volumes, especially Kubernetes and containerized environments. Official docs also point to a Grafana plugin, demo playgrounds, and community channels as adoption surfaces.

### 使用方式

VictoriaLogs is used to ingest logs from popular collectors, query them with LogsQL, explore them in a built-in web UI, visualize them through a Grafana plugin, or query from an interactive command-line tool. The docs emphasize Unix-friendly analysis as well: results can be combined with tools such as `grep`, `less`, `sort`, and `jq`.

### 为什么软件包爱好者会关心

The package is interesting to operators because it follows the VictoriaMetrics packaging philosophy: a single binary with reasonable defaults, explicit flags, and low operational overhead. For log-storage users, its pitch is a smaller and simpler alternative to Elasticsearch or Grafana Loki, while still fitting existing Grafana, Kubernetes, and OpenTelemetry-style observability workflows.

### 时间线

- 2023: Public issue history and VictoriaMetrics blog posts referenced active VictoriaLogs development.
- 2024-11-13: VictoriaMetrics announced VictoriaLogs general availability.
- 2025-07-06: Dedicated VictoriaLogs GitHub repository created.
- 2026-06-17: GitHub listed v1.51.0 as a VictoriaLogs release.

### Related projects

- VictoriaMetrics is the parent metrics database and broader observability platform.
- The VictoriaLogs Grafana datasource plugin is the companion integration for Grafana dashboards and Explore workflows.

### 来源

- <https://api.github.com/repos/VictoriaMetrics/VictoriaLogs>
- <https://docs.victoriametrics.com/victorialogs/>
- <https://github.com/VictoriaMetrics/VictoriaLogs>
- <https://victoriametrics.com/blog/momentum-2023/>
- <https://victoriametrics.com/blog/victoriametrics-efficiently-simplifies-log-complexity-with-victorialogs/>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** victorialogs
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - victorialogs: normalized package name match | nixpkgs package indexes: pkgs/by-name/vi/victorialogs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - victoria-logs - 1.52.0-r0: installed executable or alias match | Alpine Linux edge package indexes: victoria-logs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | User-friendly database for logs | https://github.com/VictoriaMetrics/VictoriaLogs
- apk - victoria-logs-openrc - 1.52.0-r0: installed executable or alias match | Alpine Linux edge package indexes: victoria-logs-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | User-friendly database for logs (OpenRC init scripts) | https://github.com/VictoriaMetrics/VictoriaLogs
- apk - victoria-logs-vlagent - 1.52.0-r0: installed executable or alias match | Alpine Linux edge package indexes: victoria-logs-vlagent from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | User-friendly database for logs (vlagent) | https://github.com/VictoriaMetrics/VictoriaLogs
- apk - victoria-logs-vlogscli - 1.52.0-r0: installed executable or alias match | Alpine Linux edge package indexes: victoria-logs-vlogscli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | User-friendly database for logs (vlogscli) | https://github.com/VictoriaMetrics/VictoriaLogs


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [fluent-bit](https://pkg.so/zh-hans/brew/fluent-bit/) - Shares pkgdb curated category or tags: cli, data, logs, observability.
- [filebeat](https://pkg.so/zh-hans/brew/filebeat/) - Shares pkgdb curated category or tags: cli, data, logs, observability.
- [loki](https://pkg.so/zh-hans/brew/loki/) - Shares pkgdb curated category or tags: cli, data, logs, observability.
- [sqlite](https://pkg.so/zh-hans/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data, database.
- [redis](https://pkg.so/zh-hans/brew/redis/) - Shares pkgdb curated category or tags: cli, data, database.
- [gdbm](https://pkg.so/zh-hans/brew/gdbm/) - Shares pkgdb curated category or tags: cli, data, database.
- [mysql](https://pkg.so/zh-hans/brew/mysql/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@14](https://pkg.so/zh-hans/brew/postgresql-14/) - Shares pkgdb curated category or tags: cli, data, database.

## Combined YAML source

View the package source record on GitHub. [combined/victorialogs.yml](https://github.com/mxcl/pkgdb/blob/main/combined/victorialogs.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
