In Kibana Lens/Data Table, the “Top values → Number of values” has a hard UI cap of 10,000 per terms agg. Changing index.max_result_window (hits pagination) doesn’t affect this, and ES might accept size: 100000 via API, but Lens won’t.
Workarounds
Use the Elasticsearch API with a composite aggregation (paginated via after_key) to fetch >10k buckets.
Or materialize results with a Transform/rollup and visualize that.
If you truly need all distinct values in Kibana, rethink the viz—10k+ buckets is heavy and slow.
instead, use a composite aggregation in Python and page through all buckets.
just to confirm: are you looking for more than 10000 possible values or more than 10000 rows?
Because the Lens control is actually asking “how many distinct values” it should look for in your aggregation, nothing about the exact number of result rows (it can be also in the order of millions possibly)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.