I use heartbeat 7.3.0 to send data to a 7.3.0 ES hosted in elastic cloud.
I have one docker heartbeat deployed in EKS 1.13, with default values.
Everything runs fine until every night at 1:00AM UTC, in which auto(bulk api) deletes and recreates the index, losing the write alias, deleting all data, and creating a new alias with a shortname:
BEFORE:
GET _alias
"heartbeat-7.3.0-2019.09.12-000001" : {
"aliases" : {
"heartbeat-7.3.0" : {
"is_write_index" : true
}
}
AFTER:
GET _alias
"heartbeat-7.3.0" : {
"aliases" : {}
}
All my dashboards are then broken and also the watchers, with a message "Fielddata is disabled on text fields by default. Set fielddata=true in [monitor.id] bla bla bla".
If I delete the shortname index (heartbeat-7.3.0) and the alias, and then restart the heartbeat, everything is running fine again until next day.
I've tried everything but I can't avoid the disaster every night.