# Canvas Increase Result Count

**URL:** <https://discuss.elastic.co/t/canvas-increase-result-count/178116>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [April 23, 2019, 8:58pm UTC](https://discuss.elastic.co/t/canvas-increase-result-count/178116 "2019-04-23T20:58:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![glen.smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glen.smith/32/43011_2.png) [@glen.smith](https://discuss.elastic.co/u/glen.smith)\
**Post date:** [April 23, 2019, 8:58pm UTC](https://discuss.elastic.co/t/canvas-increase-result-count/178116/1 "2019-04-23T20:58:45Z")

</div>

Hi Everyone,

I'm new here so I'm not sure if this is the best place for this. I'm new to using the Canvas feature in Kibana. I'm using essql SELECT requests like:

```
SELECT * from index

```

but I'm only returned the first 1000 documents by default. I can change this by setting

```
count = 10000

```

but that's as far as I can go, and it is slow to generate a plot. I noticed that Visualizations (bar charts for instance) created in the "Visualize" tab use all of the data in my index (roughly 700,000 records). Is there a way to use ALL of my data in Canvas? Otherwise, I don't know how to create meaningful metrics here that reflect all of my data.

Thanks!

---

<div class="post-metadata">

**Author:** ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)\
**Post date:** [April 24, 2019, 8:27pm UTC](https://discuss.elastic.co/t/canvas-increase-result-count/178116/2 "2019-04-24T20:27:59Z")

</div>

@Joe_Fleming can you help?

---

<div class="post-metadata">

**Author:** ![Catherine\_Liu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/catherine_liu/32/34294_2.png) [@Catherine\_Liu](https://discuss.elastic.co/u/Catherine_Liu)\
**Post date:** [April 30, 2019, 7:36pm UTC](https://discuss.elastic.co/t/canvas-increase-result-count/178116/3 "2019-04-30T19:36:36Z")

</div>

@glen.smith You can use the [`LIMIT`](https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-syntax-select.html#sql-syntax-limit) clause in your SQL query to set the number of results you want to retrieve.

You could also pass the [`count`](https://www.elastic.co/guide/en/kibana/master/canvas-server-functions.html#_essql) argument in the `essql` function in the expression.

Example:  
`essql "SELECT * from index" count=10000`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 28, 2019, 7:36pm UTC](https://discuss.elastic.co/t/canvas-increase-result-count/178116/4 "2019-05-28T19:36:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
