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


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 :wink:


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

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