55 lines
947 B
Plaintext
55 lines
947 B
Plaintext
<source>
|
|
@type tail
|
|
path /var/log/remote/**/*.log
|
|
pos_file /var/log/remote/teleport_log.pos
|
|
tag teleport.log
|
|
read_from_head true
|
|
<parse>
|
|
@type json
|
|
</parse>
|
|
</source>
|
|
|
|
<source>
|
|
@type udp
|
|
tag rsyslog.udp
|
|
port 33333
|
|
bind 0.0.0.0
|
|
format json
|
|
</source>
|
|
|
|
<match teleport.log>
|
|
@type influxdb2
|
|
url http://localhost:8086
|
|
token deleted
|
|
use_ssl false
|
|
bucket bs
|
|
org bs
|
|
measurement teleport_logs
|
|
tag_fluentd true
|
|
field_cast_to_float true
|
|
<buffer>
|
|
@type memory
|
|
flush_mode interval
|
|
flush_interval 10s
|
|
flush_thread_count 2
|
|
chunk_limit_size 2m
|
|
queue_limit_length 8
|
|
</buffer>
|
|
</match>
|
|
|
|
<match rsyslog.udp>
|
|
@type influxdb2
|
|
url http://localhost:8086
|
|
token deleted
|
|
use_ssl false
|
|
bucket bs
|
|
org bs
|
|
<buffer>
|
|
@type memory
|
|
flush_mode interval
|
|
flush_interval 10s
|
|
flush_thread_count 2
|
|
chunk_limit_size 2m
|
|
queue_limit_length 8
|
|
</buffer>
|
|
</match> |