# 使用 Homebrew, chocolatey, Nix 安装 auditbeat

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

## 安装

```sh
sudo av install brew:auditbeat
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install auditbeat
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#auditbeat
```

  证据: nixpkgs package indexes: auditbeat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Chocolatey (92%):

```sh
choco install auditbeat
```

  证据: Chocolatey community package catalog: auditbeat from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','another-redis-desktop-manager'

## 软件包事实

- **软件包键:** brew:auditbeat
- **软件包管理器:** Homebrew
- **版本:** 9.4.4
- **来源摘要:** Lightweight Shipper for Audit Data
- **主页:** <https://www.elastic.co/beats/auditbeat>
- **仓库:** <https://github.com/elastic/beats>
- **最后更新:** 2026-07-23T10:29:32Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- auditbeat (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 9.4.4
## 项目历史与用法

Auditbeat is Elastic's lightweight Beat for audit and security event collection. It ships operating-system audit data, Linux Audit Framework events, and file integrity signals into the Elastic Stack, making it part CLI daemon, part security telemetry collector, and part package-managed agent.

### 项目历史

Auditbeat lives in the Elastic Beats monorepo, which GitHub reports as created in 2014 for lightweight shippers for Elasticsearch and Logstash. The official docs describe Auditbeat as an Elastic Beat based on the libbeat framework.

The Beats repository history shows Auditbeat was initially added on 2017-06-26 in commit 4ad2066, described as migrating the audit module from Metricbeat into its own Beat. Beats 6.0.0 was published later in 2017, putting Auditbeat into the 6.x era of the Beats family.

### 采用历史

Auditbeat's adoption path followed the Beats model: install a small agent on servers, configure modules and outputs, and centralize events in Elasticsearch or related Elastic deployments. The supplied package-manager facts show Homebrew, Chocolatey, and Nix packaging, while Elastic's own directory-layout docs cover deb, rpm, Docker, and archive installations.

### 使用方式

The official docs describe Auditbeat as a shipper that audits user and process activity, collects Linux Audit Framework events, and detects changes to critical files such as binaries and configuration files. Operators edit auditbeat.yml, set paths and outputs, optionally store secrets in an Auditbeat keystore, and run the service as part of an Elastic ingestion pipeline.

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

Auditbeat matters to package people because it is not just a command but a service with config, data, log, module, keystore, and platform-specific installation layout expectations. Correct packaging decides whether auditbeat.yml, path.data, systemd units, Docker defaults, and secure settings land where Elastic's docs say they should.

### 时间线

- 2014: Elastic Beats repository was created.
- 2017: Auditbeat was initially added by migrating the audit module from Metricbeat into its own Beat.
- 2017: Beats 6.0.0 was published.
- 2026: Elastic's current docs list Auditbeat reference material for Elastic Stack and Elastic Cloud Serverless.

### Related projects

- Auditbeat is related to libbeat and the wider Beats family, especially Metricbeat because its initial audit module was migrated from Metricbeat. It is also part of Elastic's ingestion tooling alongside newer Elastic Agent workflows.

### 来源

- <https://api.github.com/repos/elastic/beats>
- <https://api.github.com/repositories/16554739/commits?path=auditbeat>
- <https://www.elastic.co/docs/reference/beats/auditbeat>
- <https://www.elastic.co/docs/reference/beats/auditbeat/configuring-howto-auditbeat>
- <https://www.elastic.co/docs/reference/beats/auditbeat/directory-layout>
- <https://www.elastic.co/docs/reference/beats/auditbeat/keystore>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## 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

- Unix: /etc/auditbeat/auditbeat.yml, /usr/share/auditbeat/auditbeat.yml, {extract.path}/auditbeat.yml

## Credential files

- Unix: ${path.data}/auditbeat.keystore
## 其他软件包管理器记录

- Nix - auditbeat: normalized package name match | nixpkgs package indexes: auditbeat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Chocolatey - auditbeat: normalized package name match | Chocolatey community package catalog: auditbeat from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','another-redis-desktop-manager'


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
