I use ES 6.24 what is running via Docker image configured in docker compose file.
After some time I got error Limit of total fields [1000] in index my_index has been exceeded.
I tried to use set this limit in environment part:
environment: - FIELDS_LIMIT=3000
but the error still occurs. When I used command bellow the size was increased
curl -X PUT "localhost:9200/_all/_settings" -d '{"template": "*","order": 0,"settings": {"index": {"mapping": {"total_fields": { "limit": 3000 }}}}}'
Is any solution for this issue?
I tried to add the curl command to command property in yml file but it failed. Probably because the ES hasn't started yet.