Skip to content

Commit 3268c21

Browse files
authored
Merge pull request #1985 from fluent/lynettemiles/sc-136273/update-fluent-bit-docs-pipeline-outputs-treasure
2 parents d60dd68 + 971ea46 commit 3268c21

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

pipeline/outputs/treasure-data.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
# Treasure Data
22

3-
The **td** output plugin, allows to flush your records into the [Treasure Data](http://treasuredata.com) cloud service.
3+
The _Treasure Data_ (TD) output plugin lets you flush your records into the [Treasure Data](http://treasuredata.com) cloud service.
44

5-
## Configuration Parameters
5+
## Configuration parameters
66

77
The plugin supports the following configuration parameters:
88

9-
| Key | Description | Default |
10-
|:---------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------|
11-
| API | The [Treasure Data](http://treasuredata.com) API key. To obtain it please log into the [Console](https://console.treasuredata.com) and in the API keys box, copy the API key hash. | |
12-
| Database | Specify the name of your target database. | |
13-
| Table | Specify the name of your target table where the records will be stored. | |
14-
| Region | Set the service region, available values: US and JP | US |
15-
| Workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `0` |
9+
| Key | Description | Default |
10+
|:--- |:----------- |:--------|
11+
| `API` | The Treasure Data API key. To obtain it, log into the [Console](https://console.treasuredata.com) and in the API keys box, copy the API key hash. | _none_ |
12+
| `Database` | Specify the name of your target database. | _none_ |
13+
| `Table` | Specify the name of your target table where the records will be stored. | _none_ |
14+
| `Region` | Set the service region. Allowed values: `US`, `JP`. | `US` |
15+
| `Workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `0` |
1616

17-
## Getting Started
17+
## Get started
1818

19-
In order to start inserting records into [Treasure Data](https://www.treasuredata.com), you can run the plugin from the command line or through the configuration file:
19+
To start inserting records into Treasure Data, run the plugin from the command line or through the configuration file.
2020

21-
### Command Line:
21+
### Command line
22+
23+
You can run the plugin from the command line, but it exposes your API key. Using a configuration file is recommended.
2224

2325
```shell
2426
fluent-bit -i cpu -o td -p API="abc" -p Database="fluentbit" -p Table="cpu_samples"
2527
```
2628

27-
Ideally you don't want to expose your API key from the command line, using a configuration file is highly desired.
28-
29-
### Configuration File
29+
### Configuration file
3030

3131
In your main configuration file append the following:
3232

@@ -38,7 +38,7 @@ pipeline:
3838
inputs:
3939
- name: cpu
4040
tag: my_cpu
41-
41+
4242
outputs:
4343
- name: td
4444
match: '*'
@@ -65,4 +65,4 @@ pipeline:
6565
```
6666

6767
{% endtab %}
68-
{% endtabs %}
68+
{% endtabs %}

vale-styles/FluentBit/Headings.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ exceptions:
104104
- Telemetry Pipeline
105105
- Terraform
106106
- TLS
107+
- Treasure Data
107108
- TypeScript
108109
- URLs
109110
- VictorOps

0 commit comments

Comments
 (0)