In OpenSearch and Elasticsearch, the number of fields in an index is governed by the index.mapping.total_fields.limit setting.The default value for index.mapping.total_fields.limit is 1,000 fields per index.If you need more fields, you can increase the limit by updating the index settings.Update the limit in Dev-Tools or use an index template for your index.