lab config for zincobserve
This commit is contained in:
parent
10730b93ac
commit
f3679bd834
58
fluentd/loglab.zincobserve.conf
Normal file
58
fluentd/loglab.zincobserve.conf
Normal file
@ -0,0 +1,58 @@
|
||||
<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 http
|
||||
endpoint http://192.168.1.113:5080/api/default/default/_json
|
||||
content_type json
|
||||
json_array true
|
||||
<auth>
|
||||
method basic
|
||||
username
|
||||
password
|
||||
</auth>
|
||||
<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 http
|
||||
endpoint http://192.168.1.113:5080/api/default/default/_json
|
||||
content_type json
|
||||
json_array true
|
||||
<auth>
|
||||
method basic
|
||||
username
|
||||
password
|
||||
</auth>
|
||||
<buffer>
|
||||
@type memory
|
||||
flush_mode interval
|
||||
flush_interval 10s
|
||||
flush_thread_count 2
|
||||
chunk_limit_size 2m
|
||||
queue_limit_length 8
|
||||
</buffer>
|
||||
</match>
|
Loading…
Reference in New Issue
Block a user