90DaysOfDevOps/Days/Monitoring/Fluentd/introduction/configurations/elastic-fluent.conf
michaelcade ac9ddf3ffd Day 81
2022-03-28 10:32:52 +01:00

26 lines
497 B
Plaintext

# where to send http logs
<match http-*.log>
@type elasticsearch
host elasticsearch
port 9200
index_name fluentd-http
type_name fluentd
</match>
#where to send file logs
<match file-myapp.log>
@type elasticsearch
host elasticsearch
port 9200
index_name fluentd-file
type_name fluentd
</match>
#where to send docker logs
<match docker.log>
@type elasticsearch
host elasticsearch
port 9200
index_name fluentd-docker
type_name fluentd
</match>