# How to limited Result of Search in discoveory

**URL:** https://discuss.elastic.co/t/how-to-limited-result-of-search-in-discoveory/220083
**Category:** Kibana
**Created:** [February 20, 2020, 5:01am UTC](https://discuss.elastic.co/t/how-to-limited-result-of-search-in-discoveory/220083 "2020-02-20T05:01:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![maddog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maddog/32/53018_2.png) [@maddog](https://discuss.elastic.co/u/maddog)
#### Post date: [February 20, 2020, 5:01am UTC](https://discuss.elastic.co/t/how-to-limited-result-of-search-in-discoveory/220083/1 "2020-02-20T05:01:07Z")

</div>

Hi All.  
In Kibana Version 7.4.1 i try to search data in discovery tab.  
i got the results but i need show it to dashboard but i have some problem. because i need to lock the result per pages in discovery display on dashboard. i no idea how to fix 10 results per pages.

The tried method

1. Config discover:sampleSize in Management/Advanced settings (it not my answer because in dashboard can't click to next pages of results.)
2. Edit Search in save object it try to edit size of search kibanaSavedObjectMeta.searchSourceJSON  
{  
"highlightAll": true,  
"version": true,  
"query": {  
"query": "callcenter\_msg :\* and (Channel :"A0274" or Channel :"MB") and TransactionType :"add" ",  
"language": "kuery"  
},  
"filter": ,  
"size":10,  
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index"  
}

no idea how to solved this so issue anyone can help me ?

---

<div class="post-metadata">

### Author: ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)
#### Post date: [March 18, 2020, 7:30pm UTC](https://discuss.elastic.co/t/how-to-limited-result-of-search-in-discoveory/220083/2 "2020-03-18T19:30:03Z")

</div>

@maddog you need to enable the setting `discover:sampleSize`.

Also, what are the visualization you are trying to use? In your visualization `Data` or `Options` tab you should found a setting called `Size` or `Per Page` than you can use to apply that setting.

---

<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: [April 15, 2020, 7:42pm UTC](https://discuss.elastic.co/t/how-to-limited-result-of-search-in-discoveory/220083/3 "2020-04-15T19:42:32Z")

</div>

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