# Install metricbeat with Homebrew, chocolatey, Nix

Collect metrics from your systems and services. Version 9.4.4 via Homebrew; verified 2026-07-23. Also installable with nix: nix profile install nixpkgs#metricbeat.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install metricbeat
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:metricbeat
- **Package manager:** Homebrew
- **Version:** 9.4.4
- **Source summary:** Collect metrics from your systems and services
- **Homepage:** <https://www.elastic.co/beats/metricbeat>
- **Repository:** <https://github.com/elastic/beats>
- **Last updated:** 2026-07-23T19:32:44+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- metricbeat (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 9.4.4
## Project history and usage

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.

### Project history

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.

### How it is used

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.

### Sources

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


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- 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
## Other Package-Manager Records

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


## Sources

- 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
