mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 14:22:27 +00:00
25 lines
385 B
Text
25 lines
385 B
Text
input {
|
|
heartbeat {
|
|
type => 'groom'
|
|
interval => 11
|
|
add_field => {
|
|
scope => 'open'
|
|
cutoff => '4w'
|
|
action => 'close'
|
|
}
|
|
}
|
|
}
|
|
|
|
output {
|
|
|
|
if [type] == 'groom' {
|
|
elasticsearch_groom {
|
|
host => 'es:9200'
|
|
index => 'logstash-%{+YYYY.MM.dd}'
|
|
scope => '%{scope}'
|
|
age_cutoff => '%{cutoff}'
|
|
action => '%{action}'
|
|
}
|
|
}
|
|
}
|
|
|