# telegraf を Homebrew, apk, chocolatey, MacPorts, Nix, zypper, scoop, winget でインストール

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

## インストール

```sh
sudo av install brew:telegraf
```

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

### macOS

- Homebrew (100%):

```sh
brew install telegraf
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install telegraf
```

  証拠: MacPorts ports tree: sysutils/telegraf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add telegraf
```

  証拠: Alpine Linux edge package indexes: telegraf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#telegraf
```

  証拠: nixpkgs package indexes: pkgs/by-name/te/telegraf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install telegraf
```

  証拠: openSUSE Tumbleweed package metadata: telegraf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install telegraf
```

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

- Scoop (92%):

```sh
scoop install main/telegraf
```

  証拠: Scoop official bucket manifest trees: bucket/telegraf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id InfluxData.Telegraf -e
```

  証拠: Windows Package Manager source index: InfluxData.Telegraf from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:telegraf
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/telegraf>
- **バージョン:** 1.39.2
- **ソース概要:** Plugin-driven server agent for collecting & reporting metrics
- **ホームページ:** <https://www.influxdata.com/time-series-platform/telegraf/>
- **リポジトリ:** <https://github.com/influxdata/telegraf>
- **上流ドキュメント:** <https://www.influxdata.com/time-series-platform/telegraf/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/influxdata/telegraf/archive/refs/tags/v1.39.2.tar.gz>
- **最終更新:** 2026-07-26T00:50:34+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- telegraf (cli)
- telegraf (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.39.2
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/influxdata/telegraf
- 検出された最新: v1.39.2 (最新)
## プロジェクトの歴史と使われ方

Telegraf is InfluxData's plugin-driven collection agent for metrics, logs, and other telemetry. It became a standard package-manager install for observability setups because it is a single agent that can read many inputs, transform data, and write to many backends.

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

InfluxData says it released Telegraf in 2015 as a lightweight, plugin-driven collection agent written in Go and designed around tagged measurements used by InfluxDB and OpenTSDB. The project grew inside the InfluxData ecosystem alongside the TICK stack.

The Telegraf 1.0 announcement described it as InfluxDB's native data collector and the first step of the TICK stack. At that point, the project had grown from a small number of input and output plugins into a broad open source agent with many contributors and plugin types.

### 採用の歴史

Telegraf's adoption followed its plugin model. Official docs describe input, output, aggregator, processor, and secretstore plugin categories, and InfluxData's product page now presents Telegraf as an open source agent with hundreds of community-tested plugins.

Because it could output beyond InfluxDB and integrate with infrastructure, applications, cloud services, message queues, and edge devices, Telegraf became common in package repositories across Unix, Windows, and container workflows.

### 使われ方

Users normally generate or edit a TOML configuration, enable input and output plugins, and run the telegraf daemon as a service. Official docs show `telegraf config > telegraf.conf` as the standard way to generate a configuration file from the available plugins.

In package-manager culture, Telegraf is valued for being a boring, service-friendly collector: install it, place config under `/etc/telegraf`, drop fragments into `telegraf.d`, and let it feed the telemetry backend.

### パッケージ好きにとっての重要性

Telegraf is significant because it turns a large observability integration surface into one package. Formula maintainers care about its build, plugin set, service files, config paths, and release cadence because those determine whether fleet installs behave predictably.

It also illustrates a packaging pattern common in infrastructure tooling: a single Go binary with a large plugin catalog and a stable text configuration format becomes the portable unit that package managers distribute.

### タイムライン

- 2015: InfluxData releases Telegraf as a lightweight Go collection agent.
- 2016: Telegraf 1.0 GA is announced as InfluxDB's native data collector and the first step of the TICK stack.
- 2020s: Telegraf expands into a broad telemetry agent with hundreds of plugins and multi-backend output support.
- 2026: Telegraf v1.39.1 is published in the official GitHub releases.

### Related projects

- InfluxDB is Telegraf's original and primary ecosystem partner.
- Kapacitor and Chronograf are related TICK stack components.
- Prometheus, Grafana, OpenTelemetry collectors, and vendor agents occupy adjacent telemetry collection niches.

### ソース

- <https://docs.influxdata.com/telegraf/v1/configuration/>
- <https://docs.influxdata.com/telegraf/v1/plugins/>
- <https://github.com/influxdata/telegraf/releases/tag/v1.39.1>
- <https://www.influxdata.com/blog/announcing-telegraf-1-0-the-plugin-driven-agent-for-collecting-metrics/>
- <https://www.influxdata.com/blog/telegraf-go-collection-agent/>
- <https://www.influxdata.com/time-series-platform/telegraf/>


## セキュリティノート

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/telegraf/telegraf.conf, /etc/telegraf/telegraf.d

## Credential files

- Linux: /etc/default/telegraf, /etc/telegraf/secrets
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** telegraf
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Nix - telegraf: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/telegraf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - telegraf - 1.37.0-r6: normalized package name match | Alpine Linux edge package indexes: telegraf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A plugin-driven server agent for collecting & reporting metrics, part of the InfluxDB project | https://www.influxdata.com/time-series-platform/telegraf/
- apk - telegraf-doc - 1.37.0-r6: normalized package name match | Alpine Linux edge package indexes: telegraf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A plugin-driven server agent for collecting & reporting metrics, part of the InfluxDB project (documentation) | https://www.influxdata.com/time-series-platform/telegraf/
- apk - telegraf-openrc - 1.37.0-r6: normalized package name match | Alpine Linux edge package indexes: telegraf-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A plugin-driven server agent for collecting & reporting metrics, part of the InfluxDB project (OpenRC init scripts) | https://www.influxdata.com/time-series-platform/telegraf/
- zypper - telegraf - 1.39.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: telegraf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The plugin-driven server agent for collecting & reporting metrics | https://github.com/influxdata/telegraf
- MacPorts - telegraf: normalized package name match | MacPorts ports tree: sysutils/telegraf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - telegraf: normalized package name match | Chocolatey community package catalog: telegraf from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','synologydrive'
- Scoop - main/telegraf: normalized package name match | Scoop official bucket manifest trees: bucket/telegraf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - InfluxData.Telegraf: normalized package name match | Windows Package Manager source index: InfluxData.Telegraf from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [fluent-bit](https://pkg.so/ja/brew/fluent-bit/) - Shares pkgdb curated category or tags: agent, cli, data, metrics, observability.
- [influxdb](https://pkg.so/ja/brew/influxdb/) - Shares pkgdb curated category or tags: cli, data, metrics, time-series.
- [influxdb@1](https://pkg.so/ja/brew/influxdb-1/) - Shares pkgdb curated category or tags: cli, data, metrics, time-series.
- [victoriametrics](https://pkg.so/ja/brew/victoriametrics/) - Shares pkgdb curated category or tags: cli, data, metrics, monitoring.
- [influxdb@2](https://pkg.so/ja/brew/influxdb-2/) - Shares pkgdb curated category or tags: cli, data, metrics, time-series.
- [cortex](https://pkg.so/ja/brew/cortex/) - Shares pkgdb curated category or tags: cli, data, metrics, observability.
- [opentsdb](https://pkg.so/ja/brew/opentsdb/) - Shares pkgdb curated category or tags: cli, data, monitoring, time-series.
- [flux](https://pkg.so/ja/brew/flux/) - Shares pkgdb curated category or tags: cli, data, time-series.
- [telegraf](https://pkg.so/ja/npm/telegraf/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## ソース

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