24 lines
458 B
Django/Jinja
24 lines
458 B
Django/Jinja
# vi: ft=yaml
|
|
# Receive events from 24224/tcp
|
|
# This is used by log forwarding and the fluent-cat command
|
|
<source>
|
|
@type forward
|
|
port {{ fluent_forward_port }}
|
|
</source>
|
|
|
|
<match *>
|
|
@type elasticsearch
|
|
host maestro.dmz
|
|
port {{ elasticsearch_port }}
|
|
include_timestamp true
|
|
index_name fluentd.${tag}.%Y%m%d
|
|
<buffer tag, time>
|
|
timekey 1d
|
|
flush_mode interval
|
|
flush_interval 1s
|
|
</buffer>
|
|
</match>
|
|
|
|
<system>
|
|
log_level info
|
|
</system>
|