Elasticsearch Limit of Total Fields [1000] Exceeded
Workaround available Self-hosted, Elastic Cloud Updated November 15, 2026Based on 2 user reportsHow we research
Quick answer
An index hit index.mapping.total_fields.limit (1000 by default), usually because dynamic mapping created a field for every key in messy data. Fix the data shape; raising the limit is only a stopgap.
Most likely fix: Contain the damage
How to fix it
Try these in order — the most common fix is first.
1. Contain the damage
- Set index.mapping.total_fields.ignore_dynamic_beyond_limit to true to ignore new dynamic fields instead of rejecting documents
- Raise the limit cautiously: Elastic says 10000 is usually fine, 100000 has strong performance implications
Did this fix it?2. Fix the mapping
- Use the flattened type for large arbitrary key sets and runtime fields to query them
- Disable dynamic mapping in the index template for future indices
- Reindex into an index with a corrected mapping
Did this fix it?3. Count and find fields
- Use GET <index>/_mapping or the field capabilities API with fields=*
- Use analyze index disk usage to spot unused fields
Did this fix it?
Symptoms
Indexing fails with 'Limit of total fields [1000] in index has been exceeded'; high heap or CPU, slow Kibana Discover field loading.
Why it happens
- Dynamic mapping on arbitrary or user-generated keys
- Upstream formatting bug producing new field names
- Many indices combined in one data view
This guide also covers
- elasticsearch limit of total fields exceeded
- elasticsearch mapping explosion
- elasticsearch total_fields.limit
Still not working?
If Elasticsearch keeps failing, you're not alone. See every Elasticsearch problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
Other Elasticsearch errors
- Elasticsearch Cluster Health Yellow: Causes and Fixes
- Elasticsearch Cluster Health Red: How to Fix It
- Elasticsearch Unassigned Shards: Why and How to Fix
- Elasticsearch circuit_breaking_exception: Data Too Large
- Elasticsearch High JVM Memory Pressure and Out of Memory
- Elasticsearch Disk Watermark: Index Read-Only (FORBIDDEN/12)
- Why Is Elasticsearch So Slow? Fixing Slow Searches
- Elasticsearch Cannot Change Field Mapping: Reindex Guide