Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, Nix 安装 filebeat

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install filebeat

local Homebrew formula metadata

概览

软件包摘要

File harvester to ship log files to Elasticsearch or Logstash

命令和别名

  • filebeat

历史

项目历史与用法

Filebeat is Elastic's lightweight log shipper in the Beats family: a small agent installed near application and system logs, harvesting files and forwarding events to Elasticsearch or Logstash.

In package-manager terms, Filebeat matters because it turned log shipping into a standard single-purpose daemon: install the formula or package, edit filebeat.yml, enable modules or inputs, and wire it to an Elastic Stack endpoint.

项目历史

The Beats repository began in 2014 as the home of lightweight shippers for Elasticsearch and Logstash. Early public tags were Packetbeat-focused, and the shared libbeat framework became the substrate for later Beats, including Filebeat.

Filebeat emerged as the file-log member of that family. Elastic's documentation describes its runtime model as inputs discovering log data, harvesters reading individual files, libbeat aggregating events, and configured outputs forwarding them to Elasticsearch or Logstash.

By the 5.x era, Filebeat was established enough for Elastic to document modules, which bundle input configuration, ingest pipelines, and dashboards for common log sources. Modern Elastic documentation still supports Filebeat modules, while recommending newer Elastic Agent integrations for streamlined data collection.

采用历史

Filebeat adoption tracks Elastic Stack adoption: it became the default lightweight answer for users who wanted to avoid running a heavier Logstash instance on every host while still centralizing log files.

Its packaging footprint across Homebrew, Chocolatey, and Nix, together with Elastic's own packages and documentation, reflects cross-platform use by developers, operators, and observability teams.

Elastic's current docs place Filebeat inside the broader Beats and Elastic Agent story: existing Filebeat deployments remain supported, but greenfield Elastic collection is increasingly guided toward Fleet-managed integrations.

使用方式

Typical usage starts with filebeat.yml, where users configure inputs or modules, output credentials, and path settings. Filebeat then runs as a foreground command during testing or as a service on servers.

Operators care about path.config, path.data, and the Filebeat keystore because those paths determine where configuration, registry state, logs, and stored secrets live. The keystore lets credentials be referenced from configuration without writing the raw secret in filebeat.yml.

For package users, the everyday workflow is small but operationally important: install Filebeat, point it at logs, verify output connectivity, and let it continuously tail files with registry state so restarts do not resend the whole world.

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

Filebeat is a classic example of a package-manager-friendly observability agent: one executable, one YAML config, a daemon/service mode, and enough defaults for automated installation.

It also illustrates how upstream package structure matters. The formula installs a single Beat, but the source lives in Elastic's monorepo alongside Metricbeat, Heartbeat, Auditbeat, Winlogbeat, and libbeat.

时间线

  • 2014: Elastic Beats repository created and early Packetbeat releases published.
  • 2015: Beats 1.0 release candidates published from the shared repository.
  • 2016: Beats 5.0.0 release line shipped as Elastic Stack 5-era Beats matured.
  • 2017: Filebeat modules documented for Elasticsearch 5.2 or later.
  • 2022: Beats 8.0.0 release line published.
  • 2025: Beats 9.0.0 release line published.

Related projects

  • Filebeat is part of Elastic Beats and shares libbeat infrastructure with Metricbeat, Heartbeat, Auditbeat, Packetbeat, and Winlogbeat.
  • It commonly appears with Elasticsearch, Logstash, Kibana, Elastic Agent, and Fleet integrations.

来源

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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.

Linux
/etc/filebeat/filebeat.yml
Unix
{path.config}/filebeat.yml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
{path.config}/filebeat.keystore

可执行文件

已安装的可执行文件

命令类型暴露范围备注
filebeatcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本9.4.4
管理器更新时间2026-07-23
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/elastic/beats

安装元数据

软件包元数据

软件包键brew:filebeat
版本9.4.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/filebeat
主页https://www.elastic.co/products/beats/filebeat
仓库https://github.com/elastic/beats
上游文档https://www.elastic.co/docs/reference/beats/filebeat
许可证Apache-2.0
源码归档https://github.com/elastic/beats.git
最后更新2026-07-23T07:28:30Z
Pulseupdated
构建依赖go, mage
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

filebeat

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

filebeat

choco install filebeat
  • normalized package name match
  • 匹配方式:Filebeat
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: filebeat from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','fah'

来源线索

由仓库数据生成

此页面由 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