# Sorting by date in log stream

**URL:** <https://discuss.elastic.co/t/sorting-by-date-in-log-stream/313339>\
**Category:** Kibana\
**Created:** [August 31, 2022, 9:53am UTC](https://discuss.elastic.co/t/sorting-by-date-in-log-stream/313339 "2022-08-31T09:53:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![conor\_c](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@conor\_c](https://discuss.elastic.co/u/conor_c)\
**Post date:** [August 31, 2022, 9:53am UTC](https://discuss.elastic.co/t/sorting-by-date-in-log-stream/313339/1 "2022-08-31T09:53:36Z")

</div>

Hi All,

I've been searching and searching for a solution, but I've not managed to find any relevant answers. I suspect I am looking in the wrong place or have misunderstood how some of the ELK stack tools are connected.

Regardless, please let me explain my issue. Using Kibana's log stream, I see all logs that are coming into the ELK solution. However, I cannot order by date. The uppermost logs are the oldest, and all new logs are at the bottom of the page. What I dearly want is the ability to have the livestream logs have the newest entries at the top of the page.

If you look at the attached image, you will see the column marked @timestamp - it has a red mark next to it. There is seemingly no way to order this column, and nothing to click in the column heading.

Any help is greatly appreciated.

All the best,

C

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/9/397b35fea38343dc4b45075c4748d77e7d232b92.png)

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [September 5, 2022, 3:45pm UTC](https://discuss.elastic.co/t/sorting-by-date-in-log-stream/313339/2 "2022-09-05T15:45:35Z")

</div>

I don't think you can change the order of logs being displayed in the Log Stream app. You'd need to switch to [Discover](https://www.elastic.co/guide/en/kibana/current/discover.html) which is a more generic documents explorer tool.

---

<div class="post-metadata">

**Author:** ![conor\_c](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@conor\_c](https://discuss.elastic.co/u/conor_c)\
**Post date:** [September 6, 2022, 6:55am UTC](https://discuss.elastic.co/t/sorting-by-date-in-log-stream/313339/3 "2022-09-06T06:55:36Z")

</div>

Thank you, Jorge. My Discover logs look vastly different to my stream logs; they show many of a log message's attributes, but in my case, not the message. I guess this is a configuration thing so I'll go diving in the docs on how to configure it as I wish to have it.

Cheers,

Conor

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [September 6, 2022, 8:31am UTC](https://discuss.elastic.co/t/sorting-by-date-in-log-stream/313339/4 "2022-09-06T08:31:47Z")

</div>

Correct in Discover you decide which fields you want to display in the table, you can reorder them, etc. Check the [docs](https://www.elastic.co/guide/en/kibana/current/discover.html#explore-fields-in-your-data), and remember you can save this configuration as a **[Saved Search](https://www.elastic.co/guide/en/kibana/current/save-open-search.html)** so it can be accessed later, or even reused in your own dashboards.

---

<div class="post-metadata">

**Author:** ![conor\_c](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@conor\_c](https://discuss.elastic.co/u/conor_c)\
**Post date:** [September 7, 2022, 8:55am UTC](https://discuss.elastic.co/t/sorting-by-date-in-log-stream/313339/5 "2022-09-07T08:55:48Z")

</div>

Wonderful, thank you Jorge!

---

<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:** [October 5, 2022, 8:56am UTC](https://discuss.elastic.co/t/sorting-by-date-in-log-stream/313339/6 "2022-10-05T08:56:05Z")

</div>

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