Elasticsearch Limit of Total Fields [1000] Exceeded

Share
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. 1. Contain the damage

    1. Set index.mapping.total_fields.ignore_dynamic_beyond_limit to true to ignore new dynamic fields instead of rejecting documents
    2. Raise the limit cautiously: Elastic says 10000 is usually fine, 100000 has strong performance implications
    Did this fix it?
  2. 2. Fix the mapping

    1. Use the flattened type for large arbitrary key sets and runtime fields to query them
    2. Disable dynamic mapping in the index template for future indices
    3. Reindex into an index with a corrected mapping
    Did this fix it?
  3. 3. Count and find fields

    1. Use GET <index>/_mapping or the field capabilities API with fields=*
    2. 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 us
Fixed it? Share this guide

The same problem in other apps

All plan limits, paywalls & watermarks guides →

Other Elasticsearch errors

All 10 Elasticsearch errors and fixes →