I have some indexing failures. I tried to fix them by increasing the index.mapping.total_fields.limit in my index, but I forgot they had a 4-day rotation, so I have to set the index.mapping.total_fields.limit manually everytime, for each new index. (graylog_277, graylog_278…)
I’d like to know if it’s possible to set the index.mapping.total_fields.limit value by default in my Default Index Set, so all the new index will have the same index.mapping.total_fields.limit value, matching my requirements.
That is correct, If your using the default ES index template I would check out this documentation here
The command used below, which I think you know now is just for that INDEX set, You could either create a new index template of try to modify the default index template that Elasticsearch uses for Graylog. If you do that insure you rotate the index so the new settings are enbled.
If your stuck on what index template to use a cURL command could help like so.
I’m not sure, because I haven’t done that yet so I cant really give you the fix , sorry.
Maybe someone else here has. TBH dig through the forum I’m sure someone has done this before.
Specially with this error:
ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Limit of total fields [1000] has been exceeded]]