# Persisted queue the uploaded logs are being sent again after restart

**URL:** https://discuss.elastic.co/t/persisted-queue-the-uploaded-logs-are-being-sent-again-after-restart/78031
**Category:** Logstash
**Created:** [March 9, 2017, 5:45pm UTC](https://discuss.elastic.co/t/persisted-queue-the-uploaded-logs-are-being-sent-again-after-restart/78031 "2017-03-09T17:45:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gall4rdo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gall4rdo/32/55675_2.png) [@gall4rdo](https://discuss.elastic.co/u/gall4rdo)
#### Post date: [March 9, 2017, 5:45pm UTC](https://discuss.elastic.co/t/persisted-queue-the-uploaded-logs-are-being-sent-again-after-restart/78031/1 "2017-03-09T17:45:25Z")

</div>

Hi,

I have configured logstash with persistent queue, but when i restart the service, they send again the older logs, instead of checkpoint logs. It is a problem, because we have duplicated logs, and as long as they are not sent again, I have no record of the new logs.

Anyone can help me?

Logstash Version: 5.2.2

logstash.yml

```
path.queue: /mnt/logstash
queue.max_bytes: 10gb
pipeline.batch.size: 2500
pipeline.workers: 4

```

Thanks,  
Paulo

---

<div class="post-metadata">

### Author: ![gall4rdo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gall4rdo/32/55675_2.png) [@gall4rdo](https://discuss.elastic.co/u/gall4rdo)
#### Post date: [March 10, 2017, 11:08am UTC](https://discuss.elastic.co/t/persisted-queue-the-uploaded-logs-are-being-sent-again-after-restart/78031/2 "2017-03-10T11:08:22Z")

</div>

Anyone can help me? ☹

---

<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: [April 7, 2017, 11:08am UTC](https://discuss.elastic.co/t/persisted-queue-the-uploaded-logs-are-being-sent-again-after-restart/78031/3 "2017-04-07T11:08:27Z")

</div>

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