Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ File output: early closing ] #123

Closed
jerome83136 opened this issue Apr 21, 2016 · 0 comments
Closed

[ File output: early closing ] #123

jerome83136 opened this issue Apr 21, 2016 · 0 comments

Comments

@jerome83136
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant