My Logstash Configuration
input {
elasticsearch {
hosts => "http://172.19.23.12:9200"
index => "*"
size => 1000
scroll => "5m"
docinfo => true
}
}
filter {
mutate {
remove_field => ["@timestamp", "@version"]
}
}
output {
elasticsearch {
hosts => "http://elasticsearch-master.camunda.svc.cluster.local:9200"
index => "%{[@metadata][_index]}"
document_type => "%{[@metadata][_type]}"
document_id => "%{[@metadata][_id]}"
}
}
Here are the results after synchronization:
but The result I want is that the migrated data is exactly the same