summaryrefslogtreecommitdiffstats
path: root/fluent-bit/conf/out_td.conf
blob: ab7bdfa6d07cc17ca89309f83ad1455ad99da5dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[SERVICE]
    # Flush
    # =====
    # Set an interval of seconds before to flush records to a destination
    Flush        5

    # Daemon
    # ======
    # Instruct Fluent Bit to run in foreground or background mode.
    Daemon       Off

    # Log_Level
    # =========
    # Set the verbosity level of the service, values can be:
    #
    # - error
    # - warning
    # - info
    # - debug
    # - trace
    #
    # By default 'info' is set, that means it includes 'error' and 'warning'.
    Log_Level    info

    # HTTP Monitoring Server
    # ======================
    #
    # HTTP_Monitor: enable/disable the HTTP Server to monitor
    #               Fluent Bit internals.
    # HTTP_Port   : specify the TCP port of the HTTP Server
    HTTP_Monitor Off
    HTTP_Port    2020


[INPUT]
    Name cpu
    Tag  cpu

# TreasureData Output
# ===================
# This configuration file specify the information to be used
# when flushing information to TreasureData.com service. All
# key fields in the 'TD' section are mandatory.
[OUTPUT]
    Name  td
    Match *

    # API
    # ===
    # The TreasureData API key. To obtain this please log into your
    # TreasureData Console:
    #
    # 1. Go to https://console.treasuredata.com/
    # 2. API Keys box: copy the API key hash
    API      5a00/e75beccae41e9f83dfa1wa35ddfbb0dcd8a8d980

    # Database
    # ========
    # Specify the name of your database, it must exists.
    Database fluentbit

    # Table
    # =====
    # Specify the database table name where the records will be stored
    Table    cpu_samples