I'm looking for a way to move a 2.3 GB index from Server A to Server B, that is completely lives on a different domain/host.
I tried logstash code, but it fails at some point and keeps pushing the data infinetly!
input {
elasticsearch {
hosts => "https://elasticServer-hosts"
index => "index-1"
query => '{ "query": { "match_all": {} }}'
size => 1
scroll => "5m"
}
}
filter {
}
output {
elasticsearch {
hosts => ["http://elastic-server2:9200"]
index => "index-1"
}
}