# Logstash reads only 10 rows

**URL:** <https://discuss.elastic.co/t/logstash-reads-only-10-rows/213338>\
**Category:** Logstash\
**Created:** [December 30, 2019, 11:43am UTC](https://discuss.elastic.co/t/logstash-reads-only-10-rows/213338 "2019-12-30T11:43:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andres-perez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andres-perez/32/136461_2.png) [@andres-perez](https://discuss.elastic.co/u/andres-perez)\
**Post date:** [December 30, 2019, 2:24pm UTC](https://discuss.elastic.co/t/logstash-reads-only-10-rows/213338/2 "2019-12-30T14:24:31Z")

</div>

Thanks for your detailed input, configuration and query commands used to get your desired output. It makes it really easier to troubleshoot 🙂

> [@Lubos\_Marek](#):
>
> When I open [http://localhost:9200/mylog/\_search?pretty](http://localhost:9200/mylog/_search?pretty) I see only first 10 rows of my file.

Your issue is related to the **elasticsearch query** : if the output "size" is not specified, **the default is 10 results**.

It is better explained in this response: [Get query is showing only 10 results while searching for a particular data - #2 by ogtool](https://discuss.elastic.co/t/get-query-is-showing-only-10-results-while-searching-for-a-particular-data/88187/2)

---

_[View the full topic](https://discuss.elastic.co/t/logstash-reads-only-10-rows/213338)._
