# \<udp.0 ERROR Unable to copy file /var/log/logstash/logstash-plain-2017-10-11.log

**URL:** <https://discuss.elastic.co/t/udp-0-error-unable-to-copy-file-var-log-logstash-logstash-plain-2017-10-11-log/103524>\
**Category:** Logstash\
**Created:** [October 11, 2017, 9:43am UTC](https://discuss.elastic.co/t/udp-0-error-unable-to-copy-file-var-log-logstash-logstash-plain-2017-10-11-log/103524 "2017-10-11T09:43:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mayotte](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mayotte/32/24914_2.png) [@Mayotte](https://discuss.elastic.co/u/Mayotte)\
**Post date:** [October 11, 2017, 9:43am UTC](https://discuss.elastic.co/t/udp-0-error-unable-to-copy-file-var-log-logstash-logstash-plain-2017-10-11-log/103524/1 "2017-10-11T09:43:48Z")

</div>

Hello,

I configured Logstash for netflow packets.  
Devices send correctly packets to my server.  
In /var/log/logstash/logstash-plain.log I can see that logstash recover packets.

The issue is that data are not sent to my Elasticsearch Server.

In /var/log/logstash-stdout.log I have this error =\>

tail -f /var/log/logstash-stdout.log  
2017-10-11 13:12:34,969 \<udp.1 ERROR Unable to move file /var/log/logstash/logstash-plain-2017-10-11.log to /var/log/logstash/logstash-plain-2017-10-11.log: java.nio.file.NoSuchFileException /var/log/logstash/logstash-plain-2017-10-11.log -\> /var/log/logstash/logstash-plain-2017-10-11.log  
2017-10-11 13:12:34,969 \<udp.1 ERROR Unable to copy file /var/log/logstash/logstash-plain-2017-10-11.log to /var/log/logstash/logstash-plain-2017-10-11.log: java.nio.file.NoSuchFileException /var/log/logstash/logstash-plain-2017-10-11.log

About logstash logs permissions:

ll /var/log/logstash  
total 70840  
-rw-r--r-- 1 logstash logstash 52428985 Oct 11 13:39 logstash-plain-2017-10-11.log  
-rw-r--r-- 1 logstash logstash 20095005 Oct 11 13:41 logstash-plain.log

If you have and idea 😉

Thanks

---

<div class="post-metadata">

**Author:** ![Mayotte](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mayotte/32/24914_2.png) [@Mayotte](https://discuss.elastic.co/u/Mayotte)\
**Post date:** [October 11, 2017, 9:46am UTC](https://discuss.elastic.co/t/udp-0-error-unable-to-copy-file-var-log-logstash-logstash-plain-2017-10-11-log/103524/2 "2017-10-11T09:46:01Z")

</div>

Also it's strange : the date for today is Wed Oct 11 13:44:37 GST 2017

logstash-plain-2017-10-11.log file is already created automatically

---

<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:** [November 8, 2017, 9:46am UTC](https://discuss.elastic.co/t/udp-0-error-unable-to-copy-file-var-log-logstash-logstash-plain-2017-10-11-log/103524/3 "2017-11-08T09:46:31Z")

</div>

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