Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions docs/reference/command-lines/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,21 @@ The `greptime` command can start/stop GreptimeDB and pass configuration options.

## Install the Greptime CLI

The Greptime CLI comes bundled with the GreptimeDB binary.
After [installing GreptimeDB](/getting-started/installation/overview.md),
you can execute the `./greptime` command within the GreptimeDB directory.
The Greptime CLI is bundled with the GreptimeDB binary.

If you start GreptimeDB using the binary file as described in the [installing GreptimeDB](/getting-started/installation/overview.md) documentation,
you can execute the `./greptime` command from within the GreptimeDB directory.
For convenience, if you prefer to run commands using `greptime` instead of `./greptime`,
consider moving the CLI binary to your system's `bin` directory or adding the binary's path to your `PATH` environment variable.

If you deployed GreptimeDB in Kubernetes, you can access the greptime command line through the frontend pod. Use the following command to enter the pod:

```sh
kubectl exec -it <greptimedb-frontend-pod> -n <namespace> -- /bin/bash
```

Once inside the pod, you can run `greptime help` to see all available commands.

For convenience, if you wish to run commands using `greptime` instead of `./greptime`,
consider moving the CLI binary to your system's `bin` directory or appending the binary's path to your `PATH` environment variable.

## CLI Options

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Instructions on integrating GreptimeDB with Fluent bit for Promethe

[Fluent Bit](http://fluentbit.io/) is a fast and lightweight telemetry agent for logs, metrics, and traces for Linux, macOS, Windows, and BSD family operating systems. Fluent Bit has been made with a strong focus on performance to allow the collection and processing of telemetry data from different sources without complexity.

You can integrate GreptimeDB as an OUTPUT for Fluent Bit.
You can forward Fluent Bit data to GreptimeDB. This document describes how to configure Fluent Bit to send logs, metrics, and traces to GreptimeDB.

## Http

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ description: 介绍 Greptime 命令行工具的安装、使用方法,包括全
## 安装命令行工具

Greptime 命令行工具与 GreptimeDB 二进制文件捆绑在一起。
在[安装 GreptimeDB](/getting-started/installation/overview.md)之后,
你可以在 GreptimeDB 的当前目录中执行 `./greptime` 命令。

如果你按照[快速安装 GreptimeDB](/getting-started/installation/overview.md)文档中所述使用二进制文件启动的 GreptimeDB,可以在 GreptimeDB 的当前目录中执行 `./greptime` 命令。
为了方便起见,如果你希望使用 `greptime` 而不是 `./greptime` 来运行命令,
可以将命令行工具的二进制文件移动到系统的 `bin` 目录,或者将二进制文件的路径添加到 `PATH` 环境变量中。

如果你是在 Kubernetes 中部署的 GreptimeDB,可以通过 frontend pod 访问 greptime 命令行工具。使用以下命令进入 pod:

```sh
kubectl exec -it <greptimedb-frontend-pod> -n <namespace> -- /bin/bash
```

进入 pod 后,可以运行 `greptime help` 查看所有可用命令。

## 选项

`help` 命令列出了 `greptime` 所有可用的命令和选项。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: 将 GreptimeDB 与 Fluent bit 集成以实现 Prometheus Remote Wri

[Fluent Bit](http://fluentbit.io/) 是一个快速且轻量级的遥测代理,用于 Linux、macOS、Windows 和 BSD 系列操作系统的日志、指标和跟踪。Fluent Bit 专注于性能,允许从不同来源收集和处理遥测数据而不增加复杂性。

您可以将 GreptimeDB 集成为 Fluent Bit 的 OUTPUT。本文档介绍如何配置 Fluent Bit 以将日志、指标和跟踪发送到 GreptimeDB。
你可以将 Fluent Bit 数据转发到 GreptimeDB。本文档介绍如何配置 Fluent Bit 以将日志、指标和跟踪发送到 GreptimeDB。

## Http

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ description: 介绍 Greptime 命令行工具的安装、使用方法,包括全
## 安装命令行工具

Greptime 命令行工具与 GreptimeDB 二进制文件捆绑在一起。
在[安装 GreptimeDB](/getting-started/installation/overview.md)之后,
你可以在 GreptimeDB 的当前目录中执行 `./greptime` 命令。

如果你按照[快速安装 GreptimeDB](/getting-started/installation/overview.md)文档中所述使用二进制文件启动的 GreptimeDB,可以在 GreptimeDB 的当前目录中执行 `./greptime` 命令。
为了方便起见,如果你希望使用 `greptime` 而不是 `./greptime` 来运行命令,
可以将命令行工具的二进制文件移动到系统的 `bin` 目录,或者将二进制文件的路径添加到 `PATH` 环境变量中。

如果你是在 Kubernetes 中部署的 GreptimeDB,可以通过 frontend pod 访问 greptime 命令行工具。使用以下命令进入 pod:

```sh
kubectl exec -it <greptimedb-frontend-pod> -n <namespace> -- /bin/bash
```

进入 pod 后,可以运行 `greptime help` 查看所有可用命令。

## 选项

`help` 命令列出了 `greptime` 所有可用的命令和选项。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: 将 GreptimeDB 与 Fluent bit 集成以实现 Prometheus Remote Wri

[Fluent Bit](http://fluentbit.io/) 是一个快速且轻量级的遥测代理,用于 Linux、macOS、Windows 和 BSD 系列操作系统的日志、指标和跟踪。Fluent Bit 专注于性能,允许从不同来源收集和处理遥测数据而不增加复杂性。

您可以将 GreptimeDB 集成为 Fluent Bit 的 OUTPUT。本文档介绍如何配置 Fluent Bit 以将日志、指标和跟踪发送到 GreptimeDB。
你可以将 Fluent Bit 数据转发到 GreptimeDB。本文档介绍如何配置 Fluent Bit 以将日志、指标和跟踪发送到 GreptimeDB。

## Http

Expand Down
19 changes: 14 additions & 5 deletions versioned_docs/version-0.17/reference/command-lines/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,21 @@ The `greptime` command can start/stop GreptimeDB and pass configuration options.

## Install the Greptime CLI

The Greptime CLI comes bundled with the GreptimeDB binary.
After [installing GreptimeDB](/getting-started/installation/overview.md),
you can execute the `./greptime` command within the GreptimeDB directory.
The Greptime CLI is bundled with the GreptimeDB binary.

If you start GreptimeDB using the binary file as described in the [installing GreptimeDB](/getting-started/installation/overview.md) documentation,
you can execute the `./greptime` command from within the GreptimeDB directory.
For convenience, if you prefer to run commands using `greptime` instead of `./greptime`,
consider moving the CLI binary to your system's `bin` directory or adding the binary's path to your `PATH` environment variable.

If you deployed GreptimeDB in Kubernetes, you can access the greptime command line through the frontend pod. Use the following command to enter the pod:

```sh
kubectl exec -it <greptimedb-frontend-pod> -n <namespace> -- /bin/bash
```

Once inside the pod, you can run `greptime help` to see all available commands.

For convenience, if you wish to run commands using `greptime` instead of `./greptime`,
consider moving the CLI binary to your system's `bin` directory or appending the binary's path to your `PATH` environment variable.

## CLI Options

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Instructions on integrating GreptimeDB with Fluent bit for Promethe

[Fluent Bit](http://fluentbit.io/) is a fast and lightweight telemetry agent for logs, metrics, and traces for Linux, macOS, Windows, and BSD family operating systems. Fluent Bit has been made with a strong focus on performance to allow the collection and processing of telemetry data from different sources without complexity.

You can integrate GreptimeDB as an OUTPUT for Fluent Bit.
You can forward Fluent Bit data to GreptimeDB. This document describes how to configure Fluent Bit to send logs, metrics, and traces to GreptimeDB.

## Http

Expand Down