-
Notifications
You must be signed in to change notification settings - Fork 2
/
fluent-bit.conf
90 lines (73 loc) · 1.88 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[SERVICE]
Flush 1
Daemon Off
Parsers_File parsers.conf
Parsers_File myparsers.conf
Plugins_File plugins.conf
HTTP_Server Off
[INPUT]
Name tail
Path /data/log/uwsgi_access.log
Parser uwsgi_ltsv_parser
Tag access.uwsgi
[INPUT]
Name tail
Path /data/log/gunicorn_access.log
Parser ltsv_iso8601_usec_parser
Tag access.gunicorn
[INPUT]
Name tail
Path /data/log/nodejs_access.log
Parser ltsv_iso8601_usec_parser
Tag access.nodejs
[INPUT]
Name tail
Path /data/log/apache_access.log
Parser ltsv_iso8601_usec_parser
Tag access.apache
[INPUT]
Name tail
Path /data/log/nginx_access.log
Parser ltsv_iso8601_parser
Tag access.nginx
[INPUT]
Name tail
Path /data/log/nginx_error.log
Parser nginx_alert
Tag alert.nginx
[INPUT]
Name tail
Path /var/log/osquery/osqueryd.results.log
Parser audit_osquery
Tag audit.osquery
[INPUT]
Name syslog
Mode udp
Port 10514
Parser syslog-rfc5424
[INPUT]
Name forward
Port 10224
[INPUT]
Name forward
Port 24224
[FILTER]
Name record_modifier
Match *
Record server_name ${HOSTNAME}
Record app_name ${APP_NAME}
[OUTPUT]
Name forward
Match *
Host ${TO_HOST}
Port 10224
net.keepalive_max_recycle 120
# [OUTPUT]
# Name forward
# Match *
# Host ${TO_HOST}
# Port 24224
# Shared_Key ${SECRET}
# Self_Hostname ${HOSTNAME}
# tls on
# tls.verify off