2020-09-27 15:29:14 +10:00

24 lines
457 B
Plaintext

# This source gets incoming logs over HTTP and sends them to elastic search
<source>
@type http
port 9880
bind 0.0.0.0
body_size_limit 32m
keepalive_timeout 10s
</source>
<match http-*.log>
@type elasticsearch
host elasticsearch
port 9200
index_name fluentd
type_name fluentd
</match>
<match file-myapp.log>
@type elasticsearch
host elasticsearch
port 9200
index_name fluentd
type_name fluentd
</match>