# Multiple logs of same event

**URL:** <https://discuss.elastic.co/t/multiple-logs-of-same-event/88961>\
**Category:** Logstash\
**Created:** [June 11, 2017, 7:56pm UTC](https://discuss.elastic.co/t/multiple-logs-of-same-event/88961 "2017-06-11T19:56:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [June 11, 2017, 7:56pm UTC](https://discuss.elastic.co/t/multiple-logs-of-same-event/88961/1 "2017-06-11T19:56:59Z")

</div>

I just started using Logstash yesterday and am loving it, but I don’t understand why sometimes the same event is recorded multiple times even though only one is supposed to be sent. I even have the code print to prompt so I can verify that it’s called only once. So I don’t know how to deal with it.

I am sending logs to logstash using the python-logstash library found here: [https://github.com/vklochan/python-logstash](https://github.com/vklochan/python-logstash)

And here in this image you will see that the same event has been logged multiple times — with the same exact timestamp.

![](https://us1.discourse-cdn.com/elastic/original/3X/2/6/265e23bfffa8367773aa53f72311fb47c3c41259.png)

If this is unavoidable, is there a way to query in such a way such that it will not display results with the same timestamp?

Thanks!

---

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [June 11, 2017, 7:57pm UTC](https://discuss.elastic.co/t/multiple-logs-of-same-event/88961/2 "2017-06-11T19:57:39Z")

</div>

Btw, if this helps, I am using logstash to track activity on a Discord server.

---

<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:** [July 9, 2017, 7:57pm UTC](https://discuss.elastic.co/t/multiple-logs-of-same-event/88961/3 "2017-07-09T19:57:53Z")

</div>

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