# Sequence ID in logstash

**URL:** <https://discuss.elastic.co/t/sequence-id-in-logstash/96467>\
**Category:** Logstash\
**Created:** [August 9, 2017, 3:14pm UTC](https://discuss.elastic.co/t/sequence-id-in-logstash/96467 "2017-08-09T15:14:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilancocueno](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@bilancocueno](https://discuss.elastic.co/u/bilancocueno)\
**Post date:** [August 9, 2017, 3:14pm UTC](https://discuss.elastic.co/t/sequence-id-in-logstash/96467/1 "2017-08-09T15:14:45Z")

</div>

Hello,  
I'm pretty new to the elastic Stack and i would like to do something that i don t find anywhere.

I'm saving syslogs in elasticsearch through logstash and i would like to add a "sequence id" field to know in what order the logs came.

I tried using filters or metrics but nothing seems to be working.

Thank you for your help.

---

<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:** [September 6, 2017, 3:14pm UTC](https://discuss.elastic.co/t/sequence-id-in-logstash/96467/2 "2017-09-06T15:14:51Z")

</div>

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