# Logstash - Avoid duplicated events

**URL:** <https://discuss.elastic.co/t/logstash-avoid-duplicated-events/210999>\
**Category:** Logstash\
**Created:** [December 8, 2019, 9:28am UTC](https://discuss.elastic.co/t/logstash-avoid-duplicated-events/210999 "2019-12-08T09:28:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slawek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slawek/32/46995_2.png) [@slawek](https://discuss.elastic.co/u/slawek)\
**Post date:** [December 8, 2019, 9:28am UTC](https://discuss.elastic.co/t/logstash-avoid-duplicated-events/210999/1 "2019-12-08T09:28:53Z")

</div>

Every 30 minutes, the log file is replaced with a new log file (also containing old events).  
Is it possible to configure the logstash to sent the event only the most recent events? I want avoid duplicated events in other system.

---

<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:** [January 5, 2020, 9:38am UTC](https://discuss.elastic.co/t/logstash-avoid-duplicated-events/210999/2 "2020-01-05T09:38:27Z")

</div>

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