mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
24 lines
457 B
Plaintext
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> |