# Appropriate sample and certainty size

**URL:** <https://discuss.elastic.co/t/appropriate-sample-and-certainty-size/59606>\
**Category:** Kibana\
**Tags:** elastic-stack-graph\
**Created:** [September 1, 2016, 10:22pm UTC](https://discuss.elastic.co/t/appropriate-sample-and-certainty-size/59606 "2016-09-01T22:22:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allie\_Yang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allie_yang/32/16538_2.png) [@Allie\_Yang](https://discuss.elastic.co/u/Allie_Yang)\
**Post date:** [September 1, 2016, 10:22pm UTC](https://discuss.elastic.co/t/appropriate-sample-and-certainty-size/59606/1 "2016-09-01T22:22:53Z")

</div>

Hi i notice that the default sample and certainty sizes are 2000 and 3.  
May I ask is there any rule of thumb for setting the numbers?

And "_Terms are identified from samples of the most relevant documents. Bigger is not necessarily better - can be slower and less relevant_" means that number of records doesn't dictate the there would be a link. The link is somehow calculated in other ways. Am I right?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [September 2, 2016, 9:00am UTC](https://discuss.elastic.co/t/appropriate-sample-and-certainty-size/59606/2 "2016-09-02T09:00:23Z")

</div>

> [@Allie\_Yang](#):
>
> May I ask is there any rule of thumb for setting the numbers?

It does depend on your query and data but is not normally critical.  
I have a video that visualizes the effects of sampling on signal quality here: [https://youtu.be/azP15yvbOBA](https://youtu.be/azP15yvbOBA)

---

<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:** [July 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/appropriate-sample-and-certainty-size/59606/3 "2017-07-06T13:42:36Z")

</div>

Closed on July 6, 2017, 1:42pm UTC


