mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
26 lines
385 B
Plaintext
26 lines
385 B
Plaintext
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}'
|
|
}
|
|
}
|
|
}
|
|
|