docs-v2/content/telegraf/v1/commands/version.md

28 lines
666 B
Markdown

---
title: telegraf version
description: >
The `telegraf version` command prints the current Telegraf version.
menu:
telegraf_v1_ref:
parent: Telegraf commands
weight: 201
---
The `telegraf version` command prints the current Telegraf version.
## Usage
```sh
telegraf [global-flags] version [flags]
```
## Flags
| Flag | | Description |
| :--- | :------------- | :--------------------------------------------- |
| `-h` | `--help` | Show command help |
{{% caption %}}
_Also see [Telegraf global flags](/telegraf/v1/commands/#telegraf-global-flags)._
{{% /caption %}}