I have a application running in vagrant VM and log files are shared with host machine using synced folder. I am trying to add these logs in logstash from host directory to another VM that is running logstash. Everything works fine until application tries to rotate log files at midnight. It throws file in use error and crashes. Is there any solution of this problem?
Asked
Active
Viewed 63 times
0
-
are you using the file input in logstash? what logger are you using in your application? i´ve seen several problems when the logging framework is not properly handling the inodes when rotating. – ibexit Nov 08 '18 at 22:26
-
Yes, I am using File input in logstash. I am using python logging module and generating custom logs – W Anjum Nov 09 '18 at 04:48