So I can delete all my indices, (this box is empty anyway) and confirm it’s deleted with the above command as it says it can’t find it.
In the documentation it says to add “action.auto_create_index: false” to the elastic config. However when i do that to the YML file, it fails to start elastic. Which lead me to try:
When I attempt to start elastic with the added line in the YML file, it doesn’t give any output. It just stops at the initializing java line. Unfortunately I don’t have anything useful on that front
I’m only able to reproduce this activity if I delete the current index directory that is being written to, whether elastic is running or not. Don’t do that, it’s a terrible practice, but fine for test
Method of fixing is to stop elastic, manually delete the graylog deflector directory and start back up elastic. It should start startup and create a new index for writing.
if you run into an issue with the search page looking for a missing index, then you need to remove the index ranges from mongo and rebuild those ranges again in graylog