mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-07-19 20:30:19 +07:00
26 lines
497 B
Plaintext
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>
|