# How to Retrieve More Than 10K Records in EQL (\_eql/search)? (Elasticsearch 7.10.1)

**URL:** <https://discuss.elastic.co/t/how-to-retrieve-more-than-10k-records-in-eql-eql-search-elasticsearch-7-10-1/374264>\
**Category:** SIEM\
**Created:** [February 8, 2025, 5:57pm UTC](https://discuss.elastic.co/t/how-to-retrieve-more-than-10k-records-in-eql-eql-search-elasticsearch-7-10-1/374264 "2025-02-08T17:57:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gkayy](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@Gkayy](https://discuss.elastic.co/u/Gkayy)\
**Post date:** [February 8, 2025, 5:57pm UTC](https://discuss.elastic.co/t/how-to-retrieve-more-than-10k-records-in-eql-eql-search-elasticsearch-7-10-1/374264/1 "2025-02-08T17:57:46Z")

</div>

There is a limitation on Elastic search when doing a search for over 10k+ records, is there a way to retrieve records over 10k+? Note that I am using EQL query to retrieve records over endpoint \_EQL, I am aware that pagination and scroll api is possible on endpoint \_search however I don't think it applies on eql queries, feel free to correct me if I'm wrong, I am currently using version 7.10.1 so keep that in mind as well, I am currently restricted to using EQL queries so I ideally want a solution according to it. The queries contain sequence of queries as well for pattern detection.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [February 11, 2025, 4:21pm UTC](https://discuss.elastic.co/t/how-to-retrieve-more-than-10k-records-in-eql-eql-search-elasticsearch-7-10-1/374264/2 "2025-02-11T16:21:18Z")

</div>

Hi @Gkayy,

Welcome! The 10,000 limit is not `_eql` specific but related to the default value of the `index.max_result_window` property. You could _technically_ increase it, but I would advise caution there as you may encounter performance or memory issues.

I haven't played with the `_eql` endpoint much, but have you checked to see if the [scroll](https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html#scroll-search-results) or [`search_after`](https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html#search-after) options are available?

---

<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:** [March 11, 2025, 4:21pm UTC](https://discuss.elastic.co/t/how-to-retrieve-more-than-10k-records-in-eql-eql-search-elasticsearch-7-10-1/374264/3 "2025-03-11T16:21:39Z")

</div>

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