Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, Nix, scoop 安装 logstash

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install logstash

local Homebrew formula metadata

Windows

Chocolatey已验证 · 92%
choco install logstash

Chocolatey community package catalog · logstash · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install extras/logstash

Scoop official bucket manifest trees · bucket/logstash.json · 来源: api.github.com

概览

软件包摘要

Tool for managing events and logs

命令和别名

  • logstash
  • logstash-plugin

历史

项目历史与用法

Logstash is Elastic's open-source server-side data processing pipeline for ingesting, transforming, enriching, and routing events and logs. It is one of the classic components of the Elastic Stack and the older ELK stack.

项目历史

The official repository describes Logstash as a tool to transport and process logs, events, and other data. Its GitHub repository was created in November 2010, and Elastic's current documentation frames it as a real-time data collection engine that can unify data from many sources and normalize it for downstream analytics and visualization.

Elastic documentation emphasizes Logstash's pipeline model: inputs receive events, filters parse or enrich them, and outputs send them onward. The project also developed a large plugin ecosystem; the upstream README notes more than 200 plugins and points plugin issues to separate repositories under the `logstash-plugins` organization.

采用历史

Logstash became widely adopted because it paired naturally with Elasticsearch and Kibana for log search and visualization. Elastic's own product pages and stack documentation present Logstash as part of the Elastic Stack alongside Elasticsearch, Kibana, Beats, and newer Elastic Agent components.

A 2014 Elastic press release for Logstash 1.4 described it as one of the most popular open-source log-management tools and tied its growth to the ELK stack. In package-manager terms, the supplied facts show distribution through Homebrew, Chocolatey, Nix, and Scoop, while Elastic also publishes official downloadable binaries and Debian/RPM packages.

使用方式

Users write pipeline configuration files that describe inputs, filters, and outputs, commonly placing `.conf` files under `/etc/logstash/conf.d` on Debian and RPM installations. Settings such as `logstash.yml`, `pipelines.yml`, and JVM options live in the `path.settings` directory.

The official docs also document a Logstash keystore for secrets. Sensitive values such as Elasticsearch passwords can be stored in the keystore and referenced from `logstash.yml` or pipeline configuration as `${KEY}`.

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

Logstash matters to package nerds because it is a heavyweight but scriptable bridge between Unix log files and modern search/observability stacks. It brought plugin-managed, package-distributed ETL behavior into the everyday log pipeline, and its config-file layout is a frequent concern for distro, Docker, and Homebrew packaging.

时间线

  • 2010: Official GitHub repository created.
  • 2014: Elastic announces Logstash 1.4 and promotes it as a major ELK-stack log-management component.
  • 2015: Elastic blog describes Logstash Forwarder as started by Logstash creator Jordan Sissel and folded into Filebeat.
  • 2026: Logstash 9.x tags are active in the official repository.

Related projects

  • Logstash is part of the Elastic Stack with Elasticsearch, Kibana, Beats, and Elastic Agent.
  • Logstash plugins are maintained separately under the `logstash-plugins` GitHub organization and are published as Ruby gems.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 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
{extract.path}/config/logstash.yml/etc/logstash/logstash.yml/etc/logstash/pipelines.yml/etc/logstash/conf.d/*.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
/etc/logstash/logstash.keystore
Unix
{path.settings}/logstash.keystore

可执行文件

已安装的可执行文件

命令类型暴露范围备注
logstashcli全局可执行文件
logstash-plugincli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本9.4.4
管理器更新时间2026-07-21
本地数据OK
上游当前
检测到的最新版本v9.4.4

https://github.com/elastic/logstash

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:logstash
版本9.4.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/logstash
主页https://www.elastic.co/products/logstash
仓库https://github.com/elastic/logstash
上游文档https://www.elastic.co/docs/reference/logstash
许可证Apache-2.0
源码归档https://github.com/elastic/logstash/archive/refs/tags/v9.4.4.tar.gz
最后更新2026-07-21T15:31:37Z
Pulseupdated
依赖openjdk@21
构建依赖gradle@8
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared
注意事项Configuration files are located in $HOMEBREW_PREFIX/etc/logstash/

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

logstash

nix profile install nixpkgs#logstash
  • normalized package name match
  • 匹配方式:Logstash
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: logstash from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Chocolatey95%

logstash

choco install logstash
  • normalized package name match
  • 匹配方式:Logstash
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: logstash from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','librespeed-cli'
Scoop95%

extras/logstash

scoop install extras/logstash
  • normalized package name match
  • 匹配方式:Logstash
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/logstash.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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