# metricbeat を Homebrew, chocolatey, Nix でインストール

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

## インストール

```sh
sudo av install brew:metricbeat
```

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

### macOS

- Homebrew (100%):

```sh
brew install metricbeat
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#metricbeat
```

  証拠: nixpkgs package indexes: metricbeat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Chocolatey (92%):

```sh
choco install metricbeat
```

  証拠: Chocolatey community package catalog: metricbeat from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','maxima'

## パッケージ情報

- **パッケージキー:** brew:metricbeat
- **パッケージマネージャ:** Homebrew
- **バージョン:** 9.4.4
- **ソース概要:** Collect metrics from your systems and services
- **ホームページ:** <https://www.elastic.co/beats/metricbeat>
- **リポジトリ:** <https://github.com/elastic/beats>
- **最終更新:** 2026-07-23T19:32:44+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- metricbeat (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 9.4.4
## プロジェクトの歴史と使われ方

Metricbeat is one of Elastic's Beats, the lightweight data shippers used with Elasticsearch, Logstash, and Kibana. Elastic documentation defines it as a shipper installed on servers to collect operating-system and service metrics and send them to outputs such as Elasticsearch or Logstash; the Beats platform describes the broader family as small agents for moving operational data from many machines.

### プロジェクトの歴史

Metricbeat entered the Elastic Stack 5.0 line as the successor to Topbeat. Elastic's 5.0.0 release material says Metricbeat replaced Topbeat as the primary metrics collection tool in the stack, preserving host and process resource statistics while adding modules for systems such as Apache, HAProxy, MongoDB, MySQL, Nginx, PostgreSQL, Redis, and ZooKeeper. A 5.0 alpha announcement introduced it as an extension of Topbeat for server-service metrics.

### 使われ方

In practice, Metricbeat is deployed as an agent on hosts, containers, or service nodes, with modules enabling metricsets for specific systems. It can send metrics directly to Elasticsearch or through Logstash, Redis, or Kafka, and it is often used to populate Elastic observability dashboards and stack monitoring indexes. In package-manager terms it is the metrics-focused Beat, adjacent to Filebeat for logs, Packetbeat for network data, Heartbeat for uptime, and Auditbeat for audit/security events.

### ソース

- <https://formulae.brew.sh/formula/metricbeat>
- <https://github.com/elastic/beats>
- <https://www.elastic.co/beats/>
- <https://www.elastic.co/blog/elastic-stack-5-0-0-released>
- <https://www.elastic.co/blog/elastic-stack-release-5-0-0-alpha-3>
- <https://www.elastic.co/blog/monitoring_container_resource_usage_with_metricbeat>
- <https://www.elastic.co/docs/reference/beats/metricbeat>


## セキュリティノート

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

- Linux: /etc/metricbeat/metricbeat.yml, /etc/metricbeat/modules.d/*.yml
- Unix: {path.home}/metricbeat.yml, {path.config}/modules.d/*.yml
- Windows: {path.home}\metricbeat.yml, {path.config}\modules.d\*.yml

## Credential files

- Linux: /var/lib/metricbeat/metricbeat.keystore
- Unix: {path.data}/metricbeat.keystore
- Windows: {path.data}\metricbeat.keystore
## 他のパッケージマネージャ記録

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


## Combined YAML source

View the package source record on GitHub. [combined/metricbeat.yml](https://github.com/mxcl/pkgdb/blob/main/combined/metricbeat.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
