# Kibana how sort logs

**URL:** https://discuss.elastic.co/t/kibana-how-sort-logs/277595
**Category:** Kibana
**Tags:** elastic-stack-monitoring
**Created:** [July 1, 2021, 8:16pm UTC](https://discuss.elastic.co/t/kibana-how-sort-logs/277595 "2021-07-01T20:16:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ilya\_21bA](https://avatars.discourse-cdn.com/v4/letter/i/b77776/32.png) [@Ilya\_21bA](https://discuss.elastic.co/u/Ilya_21bA)
#### Post date: [July 1, 2021, 8:16pm UTC](https://discuss.elastic.co/t/kibana-how-sort-logs/277595/1 "2021-07-01T20:16:43Z")

</div>

Hello everyone Tell me how I can get a certain amount of data for a certain time range.

 ![2021-07-01_23-13-09](https://us1.discourse-cdn.com/elastic/original/3X/f/e/fe3b482097d406518b05371e7167e7e44b073698.png)  
For example, how can I get all the logs for this range. The fact is that I can't know the exact range, and therefore how can I get this range from other columns.  
Is there a sample like sql? The key point: how can I get all the logs in a certain range with only the key names of the logs (end and beginning)

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [July 2, 2021, 9:20am UTC](https://discuss.elastic.co/t/kibana-how-sort-logs/277595/2 "2021-07-02T09:20:01Z")

</div>

Hi @Ilya_21bA ,

to clarify the question: do you want to limit the search to that particular range,

 ![Screenshot 2021-07-02 at 11.13.37](https://us1.discourse-cdn.com/elastic/original/3X/d/4/d484a21867dc52f9254e01b4b098e89358976bba.png)

or filter only specific ranges within the search?

 ![Screenshot 2021-07-02 at 11.13.25](https://us1.discourse-cdn.com/elastic/original/3X/5/3/53c69f6ed31cdc1e4846371ad8cd7b014568d3f7.png)

---

<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 30, 2021, 9:20am UTC](https://discuss.elastic.co/t/kibana-how-sort-logs/277595/3 "2021-07-30T09:20:43Z")

</div>

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