bpaquet/node-logstash

[ File output: early closing ]

jerome83136 opened this issue · 0 comments

Hello,

I'm using file output plugin to merge my logs from several web servers.

It works but I have this kind of logs generated by my node-logstash process:

Thu, 21 Apr 2016 16:06:02 GMT] INFO Early closing of /central_logs/output/prod/webservers/prospect/prospect_p08.20160421.log

It seems the output files get closed after a certain perriod of inactivity (the default seems to be 300 seconds).

I would like to know:

  • What is an "inactivity" for node-logstash ? (I have multiple events to write to my output files every second)
  • How to disable or avoid the inactivity closing of a file ? (I have tried idle_timeout => 0 but it just set the time to 0 seconds; it does not disable it)
  • Is there something I'm doing wrong ? I need to parse my input log files any time, any day and to write logs from these files to some output files, any time any day.

Thank you for your help

Best regards

Jérôme