Hi,
I got the above message from graylog and have some problems resolving it.
Fist point was to delete the index, which leads to having a lot of errors.
{"type":"index_not_found_exception","reason":"no such index [graylog_deflector] and [action.auto_create_index] ([.watches,.triggered_watches,.watcher-history-*]) doesn't match","index_uuid":"_na_","index":"graylog_deflector"}
I created a new index, set it to default, but cannot change the used index of the default all messages stream.
If I do not disable automatic creation of indexes I get that error message back again.
So, I am a bit lost here. Anyone have a good advice?
Hi,
I read through this earlier, but it does not resolve my problem.
action.auto_create_index: false prevents elastic from starting at all. With the suggested option in the logs it starts, but not index gets created, so I have none to work with and streams are complaining about a missing index. And I get the above mentioned error messages.
deleting the index and setting the option for no automatic creation results in having no index to use at all for default stream.
Rotate active write index can be executed but I think it will not do anything without having an index.
you might need to adjust the setting action.auto_create_index according to the documentation of elasticsearch. If you use the x-pack installed version you might need to adjust that.
The described way is 100% tested and working. You might miss a step if it does not work for you or something else is the problem.