Ich habe einen funktionierenden ELK-Stack und möchte die Indexkomprimierung aktivieren.Logstash Elasticsearch Kompression
Die offizielle store compression documentation sagt mir, dass ich es bei der Indexerstellung tun muss.
ich nicht alles im Zusammenhang mit Speicherkompressions finden konnte, oder auch Index-Einstellungen im Zusammenhang mit logstash output documentation
Unten ist meine logstash Ausgangskonfiguration:
output {
elasticsearch {
hosts => [ "localhost:9200" ]
sniffing => true
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}
Und die erstellten Index-Einstellungen:
{
"filebeat-2016.04.28": {
"settings": {
"index": {
"creation_date": "1461915752875",
"uuid": "co8bvXI7RFKFwB7oJqs8cA",
"number_of_replicas": "1",
"number_of_shards": "5",
"version": {
"created": "2030199"
}
}
}
}
}
Welche Version von Logstash verwenden Sie? – Val
Logstash 2.3, Elasticsearch 2.3 –