-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfluent-bit.conf
61 lines (53 loc) · 1.49 KB
/
fluent-bit.conf
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
[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 On
# 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
Log_File ${FBIT_LOG}
# If true, exit on change in config directory
Config_Watch Off
# Parsers_File
# ============
# Specify an optional 'Parsers' configuration file
Parsers_File parsers.conf
Plugins_File plugins.conf
# HTTP Server
# ===========
# Enable/Disable the built-in HTTP Server for metrics
HTTP_Server Off
HTTP_Listen 0.0.0.0
HTTP_Port 2020
@INCLUDE fluent-bit-input.conf
@INCLUDE fluent-bit-filters.conf
[OUTPUT]
Name es
Match ${observer_product}.*
Host ${ES_HOST}
Port ${ES_PORT}
HTTP_User ${ES_USER}
HTTP_Passwd ${ES_PASSWORD}
Logstash_Format On
Logstash_Prefix logstash-ecs-fluentbit
Logstash_DateFormat %Y.%m.%d
Type _doc
tls ${TLS_MODE}
tls.ca_path ${TLS_CA_PATH}
Trace_Output Off
# When enabled, generate _id for outgoing records. This prevents duplicate records when retrying ES.
Generate_ID On