# Logs Sequence not in Order

**URL:** <https://discuss.elastic.co/t/logs-sequence-not-in-order/219982>\
**Category:** Logstash\
**Created:** [February 19, 2020, 2:16pm UTC](https://discuss.elastic.co/t/logs-sequence-not-in-order/219982 "2020-02-19T14:16:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Himanshu\_Yadav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/himanshu_yadav/32/62949_2.png) [@Himanshu\_Yadav](https://discuss.elastic.co/u/Himanshu_Yadav)\
**Post date:** [February 19, 2020, 2:16pm UTC](https://discuss.elastic.co/t/logs-sequence-not-in-order/219982/1 "2020-02-19T14:16:29Z")

</div>

Hi Team,  
We are facing an issue where logs on Kibana dashboard are not coming in its original sequence, as seen in the file attached below:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/3/2344066ae2a4e66562ff4b4168f8f1389f39236e.png)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 19, 2020, 2:44pm UTC](https://discuss.elastic.co/t/logs-sequence-not-in-order/219982/2 "2020-02-19T14:44:23Z")

</div>

By default kibana orders events by timestamp. logstash does not preserve the order of events, so if you let logstash generate [@timestamp] the events will be "out of order". You should extract the timestamp from the beginning of the message using a dissect filter and then parse it using a date filter.

---

<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 18, 2020, 2:44pm UTC](https://discuss.elastic.co/t/logs-sequence-not-in-order/219982/3 "2020-03-18T14:44:28Z")

</div>

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