# Documents are not displayed sequential order as written by logstash in Kibana

**URL:** <https://discuss.elastic.co/t/documents-are-not-displayed-sequential-order-as-written-by-logstash-in-kibana/215417>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [January 17, 2020, 5:58am UTC](https://discuss.elastic.co/t/documents-are-not-displayed-sequential-order-as-written-by-logstash-in-kibana/215417 "2020-01-17T05:58:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kprabhas](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@kprabhas](https://discuss.elastic.co/u/kprabhas)\
**Post date:** [January 17, 2020, 5:58am UTC](https://discuss.elastic.co/t/documents-are-not-displayed-sequential-order-as-written-by-logstash-in-kibana/215417/1 "2020-01-17T05:58:48Z")

</div>

Hi,

I am new to ELK and i am passing my logs through logstash to Elastic search.  
I am able to view the documents in Kibana, but the records is not displayed in sequential order as written in my log files. I tried sorting based on @timestamp also.  
But i have same @timestamp for 2-3 records in which it is not maintaining the order in which they are inserted.

Please help to fix this issue.  
TIA

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [January 17, 2020, 2:00pm UTC](https://discuss.elastic.co/t/documents-are-not-displayed-sequential-order-as-written-by-logstash-in-kibana/215417/2 "2020-01-17T14:00:06Z")

</div>

Hi and welcome to our community

In which part of Kibana are you viewing your logs? Discover?  
So the timestamps aren't sorted correctly? or is it just that log messages with same timestamps are not in the order like in the log file? since log stash can have several pipelines the order can't preserved unless you can e.g. add another field with e.g. offset in file, like filebeat is doing.

Hope this helps a bit.  
Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![kprabhas](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@kprabhas](https://discuss.elastic.co/u/kprabhas)\
**Post date:** [January 20, 2020, 4:17am UTC](https://discuss.elastic.co/t/documents-are-not-displayed-sequential-order-as-written-by-logstash-in-kibana/215417/3 "2020-01-20T04:17:40Z")

</div>

Hi Matthias,

Thanks for responding.

- In which part of Kibana are you viewing your logs? Discover?===\> Yes

- So the timestamps aren't sorted correctly? or is it just that log messages with same timestamps==\> Its the log messages with same timestamp

- Even after extracting the timestamp from the log message, its not displaying in sequential order since it got same timestamp.

---

<div class="post-metadata">

**Author:** ![kprabhas](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@kprabhas](https://discuss.elastic.co/u/kprabhas)\
**Post date:** [January 23, 2020, 6:58am UTC](https://discuss.elastic.co/t/documents-are-not-displayed-sequential-order-as-written-by-logstash-in-kibana/215417/4 "2020-01-23T06:58:43Z")

</div>

Hi, Can someone provide some lead here?

---

<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:** [February 20, 2020, 6:58am UTC](https://discuss.elastic.co/t/documents-are-not-displayed-sequential-order-as-written-by-logstash-in-kibana/215417/5 "2020-02-20T06:58:52Z")

</div>

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