I am trying to move customer index from one cluster to ther other cluster removing some fields. Will schedule
backups data incrementally.
Data is updated to the input from the application
We want logstash to move data every 5 soconds to output cluster.
Here ios my logstash.conf
input {
elasticsearch {
hosts => ["192.31.24.100:9200"]
index => "customer"
size => 1000
scroll => "1m"
schedule => "5 * * * *"
}
}
filter {
mutate {
remove_field => [ "alternateEmails", "email" ]
}
}
output {
elasticsearch {
hosts => ["192.31.24.101:9200"]
index => "customer-without-email"
workers => 1
}
}