# Data Table Equivalent to Display 200,000 rows of data

**URL:** <https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951>\
**Category:** Kibana\
**Created:** [September 23, 2024, 9:53am UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951 "2024-09-23T09:53:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManiS](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@ManiS](https://discuss.elastic.co/u/ManiS)\
**Post date:** [September 23, 2024, 9:53am UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/1 "2024-09-23T09:53:01Z")

</div>

Hi all,  
I'm trying to create a Data Table visualization based on an Index that has around 200,000 rows of data. However, when the data table index tries to display the visualization, it is failing with the following error as no filters are being applied beforehand.

> Trying to create too many buckets. Must be less than or equal to: [2000] but was [2001]. This limit can be set by changing the [search.max\_buckets] cluster level setting.

Is there a way to get around this limitation? For example, display data in the data table only when filters are applied (or) display the data table within the "max buckets" limit and paginate as required?

The expected result is to either display all 200,000 rows when the dashboard loads split into pages (or) not display anything in the data table and wait for some filter to be applied. Are either of them possible?

I'm an absolute beginner, so trying to understand the various options out there. My version is v 7.10.0.

Thank you!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 23, 2024, 10:36am UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/2 "2024-09-23T10:36:05Z")

</div>

Welcome!

What kind of visualization are you trying to add?  
Also, please upgrade to at least 7.17 or better 8.15.

With Lens, you should not really see this kind of problem I think.

---

<div class="post-metadata">

**Author:** ![ManiS](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@ManiS](https://discuss.elastic.co/u/ManiS)\
**Post date:** [September 23, 2024, 10:45am UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/3 "2024-09-23T10:45:18Z")

</div>

Hi @dadoonet - many thanks for the prompt response!

I'm trying to add a **Data Table** - that way, my data can be represented in a tabular format.

Unfortunately, in this instance I believe I won't be able to update Kibana as it comes bundled along with the application.

Just wondering if there are any other alternatives please?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 23, 2024, 1:27pm UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/4 "2024-09-23T13:27:17Z")

</div>

There have been a lot of improvements in this area in the last 3+ years so upgrading would be great.  
But I'm not sure what the problem you have is about to be honest.

The fact that you have 200 000 rows and the error message does not seem to be related.

May be share a screen capture of what you are doing or trying to do would help...

---

<div class="post-metadata">

**Author:** ![ManiS](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@ManiS](https://discuss.elastic.co/u/ManiS)\
**Post date:** [September 23, 2024, 2:57pm UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/5 "2024-09-23T14:57:49Z")

</div>

Thanks again, so the following is what I'm trying to do:

I have a Data Table visualisation that is based on an Elastic Search index.

The Data Table visualisation has a metric of Count. There are 19 columns that are required in the data table. Aggregation has been defined for the data table using **Terms** as aggregation and **size** as 100.

Running the visualisation with just **Count** as the metric, shows as value close to 200,000. However, when I add columns (as in, split by rows), it results in an error as below.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a31b8bfdfcc4bfff9b2c57f719a053d88a9a6656.png)

too\_many\_buckets\_exception  
Trying to create too many buckets. Must be less than or equal to: [2000] but was [2001]. This limit can be set by changing the [search.max\_buckets] cluster level setting.

```auto
> Error: Service Unavailable
> at Fetch._callee3$ (https://site-url:5601/35949/bundles/core/core.entry.js:6:59535)
> at l (https://site-url:5601/35949/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1740519)
> at Generator._invoke (https://site-url:5601/35949/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1740272)
> at forEach.e.<computed> [as next] (https://site-url:5601/35949/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1740876)
> at fetch_asyncGeneratorStep (https://site-url:5601/35949/bundles/core/core.entry.js:6:52652)
> at _next (https://site-url:5601/35949/bundles/core/core.entry.js:6:52968)

```

We've tried setting the search.max\_buckets parameter to the default value, but the same issue exists - too\_many\_buckets\_exception.

Appreciate all your help!

---

<div class="post-metadata">

**Author:** ![ManiS](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@ManiS](https://discuss.elastic.co/u/ManiS)\
**Post date:** [September 23, 2024, 2:59pm UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/6 "2024-09-23T14:59:12Z")

</div>

Adding a separate entry here, due to the limitation around embedded media:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/2/d2d78165ed42891dc302cc78e0dc5457e1d2c500.png)

---

<div class="post-metadata">

**Author:** ![ManiS](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@ManiS](https://discuss.elastic.co/u/ManiS)\
**Post date:** [September 24, 2024, 2:57pm UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/7 "2024-09-24T14:57:47Z")

</div>

@dadoonet I do understand that upgrading would be great - but unfortunately, in this case Elastic Search and Kibana are tightly bundled along with the application and upgrading it would break a lot of functionality in the application.

Any pointers or inputs would be great! If you had to display close to 200,000 rows of data in a table format, would you still make use of Data Table or would you go for some other visualization?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 24, 2024, 3:48pm UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/8 "2024-09-24T15:48:56Z")

</div>

No. I don't see anything which could help.  
You can't really generate more than 2000 buckets.  
It would blow up your memory, the network bandwidth and probably will crash your browser.

May be use the discover table instead.

---

<div class="post-metadata">

**Author:** ![ManiS](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@ManiS](https://discuss.elastic.co/u/ManiS)\
**Post date:** [September 24, 2024, 11:50pm UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/9 "2024-09-24T23:50:09Z")

</div>

@dadoonet Ah okay, yes that makes so much sense.

In this case, I did try creating a Discover table, that partially solves my issue - but, the Column headings are all from the Elastic Search index.

Based on Kibana v 7.10.0, is there a way to override these column headings? I don't think I was able to find anything - can you please advise if I'm missing something?

Your advice and inputs has been phenomenal - thank you!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 25, 2024, 5:50am UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/10 "2024-09-25T05:50:40Z")

</div>

> [@ManiS](#):
>
> is there a way to override these column headings?

I don't think so.

---

<div class="post-metadata">

**Author:** ![ManiS](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@ManiS](https://discuss.elastic.co/u/ManiS)\
**Post date:** [September 30, 2024, 4:24am UTC](https://discuss.elastic.co/t/data-table-equivalent-to-display-200-000-rows-of-data/366951/11 "2024-09-30T04:24:57Z")

</div>

@dadoonet : Thank you so much for your inputs on this one!

Just wanted to be sure - hence, I thought I'd get your expertise on this one.

Thanks again for all your insights, much appreciated!
