I have faced with the following issue:
I run ES in Docker and mount data directory with all indices:
-v /etc/elasticsearch/data/:/usr/share/elasticsearch/data
After restarting ES, two indices: .monitoring-data-2
and .monitoring-es-6-2017.07.13
were not initialized and displayed as red.
I removed them from directory /etc/elasticsearch/data/nodes/0/indices
and started ES again.
But after restarting, those two indices were not generated again.
Does anybody know what should be done to create indices .monitoring-data-2
and .monitoring-es-6-2017.07.13
again?