# Interval searches

**URL:** <https://discuss.elastic.co/t/interval-searches/141248>\
**Category:** Elasticsearch\
**Created:** [July 23, 2018, 8:37pm UTC](https://discuss.elastic.co/t/interval-searches/141248 "2018-07-23T20:37:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cr\_katz](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@cr\_katz](https://discuss.elastic.co/u/cr_katz)\
**Post date:** [July 23, 2018, 8:37pm UTC](https://discuss.elastic.co/t/interval-searches/141248/1 "2018-07-23T20:37:12Z")

</div>

Hello All,  
I am running a query search in python and aggregating the stats for individual requests per hour. In this specific hour, I want to select the highest count for each request at a second interval. Can I achieve this using aggregations?

Thanks  
Crkatz

---

<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:** [August 20, 2018, 8:37pm UTC](https://discuss.elastic.co/t/interval-searches/141248/2 "2018-08-20T20:37:19Z")

</div>

Closed on August 20, 2018, 8:37pm UTC

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