Fluent Bit: Official Manual
Slack
GitHub
Discussions
Community Meetings
Search…
1.9
Fluent Bit v1.9 Documentation
About
What is Fluent Bit?
A Brief History of Fluent Bit
Fluentd & Fluent Bit
License
Concepts
Key Concepts
Buffering
Data Pipeline
Installation
Getting Started with Fluent Bit
Upgrade Notes
Supported Platforms
Requirements
Sources
Linux Packages
Docker
Containers on AWS
Amazon EC2
Kubernetes
macOS
Windows
Yocto / Embedded Linux
Administration
Configuring Fluent Bit
Security
Buffering & Storage
Backpressure
Scheduling and Retries
Networking
Memory Management
Monitoring
Dump Internals / Signal
HTTP Proxy
Local Testing
Validating your Data and Structure
Running a Logging Pipeline Locally
Data Pipeline
Pipeline Monitoring
Inputs
Parsers
Filters
Outputs
Amazon CloudWatch
Amazon Kinesis Data Firehose
Amazon Kinesis Data Streams
Amazon S3
Azure Blob
Azure Log Analytics
Counter
Datadog
Elasticsearch
File
FlowCounter
Forward
GELF
Google Cloud BigQuery
HTTP
InfluxDB
Kafka
Kafka REST Proxy
LogDNA
Loki
NATS
New Relic
NULL
OpenSearch
OpenTelemetry
PostgreSQL
Prometheus Exporter
Prometheus Remote Write
SkyWalking
Slack
Splunk
Stackdriver
Standard Output
Syslog
TCP & TLS
Treasure Data
WebSocket
Stream Processing
Introduction to Stream Processing
Overview
Changelog
Getting Started
Fluent Bit for Developers
C Library API
Ingest Records Manually
Golang Output Plugins
Developer guide for beginners on contributing to Fluent Bit
Powered By
GitBook
Treasure Data
The
td
output plugin, allows to flush your records into the
Treasure Data
cloud service.
Configuration Parameters
The plugin supports the following configuration parameters:
Key
Description
Default
API
The
Treasure Data
API key. To obtain it please log into the
Console
and in the API keys box, copy the API key hash.
​
Database
Specify the name of your target database.
​
Table
Specify the name of your target table where the records will be stored.
​
Region
Set the service region, available values: US and JP
US
Getting Started
In order to start inserting records into
Treasure Data
, you can run the plugin from the command line or through the configuration file:
Command Line:
1
$ fluent-bit -i cpu -o td -p
API
=
"abc"
-p
Database
=
"fluentbit"
-p
Table
=
"cpu_samples"
Copied!
Ideally you don't want to expose your API key from the command line, using a configuration file is highly desired.
Configuration File
In your main configuration file append the following
Input
&
Output
sections:
1
[
INPUT
]
2
Name cpu
3
Tag my_cpu
4
​
5
[
OUTPUT
]
6
Name td
7
Match
*
8
API
5713
/
e75be23caee19f8041dfa635ddfbd0dcd8c8d981
9
Database fluentbit
10
Table cpu_samples
Copied!
Previous
TCP & TLS
Next
WebSocket
Last modified
4mo ago
Export as PDF
Copy link
Contents
Configuration Parameters
Getting Started
Command Line:
Configuration File