-
Notifications
You must be signed in to change notification settings - Fork 305
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
Open files issue in logstash #68
Comments
Hi, I don't understand the issue. Could you please explain further? Also please open an issue here: https://github.com/logstash-plugins/logstash-input-file |
Hi Suyog, I am using logstash on apache server in which logs file are rotated every 10 MB, so for monitoring these file i am using wildcard char (i.e. * ) in logstash configuration file input. so suppose in a day 100 files are rotated logstash keep opens these 100 files and after some days number of open file by logstash is too high which is effecting the server performance. If there is any alternative to resolve the above problem, Please forward it to me and if possible please add some solution in logstash input file configuration for monitoring only updated file in case of wildcard using in path. |
This sounds more like an input issue than one with the logstash-output-elasticsearch plugin. That said, why tail log files when you can configure Apache to send JSON formatted logs directly to Logstash? That is, if you can add the alternate configuration. Then you won't have a file handle issue at all. |
Hi,
I am using logstash 1.4 file input in which we are facing open file issue in linux server (RHEL).
Please add configuration so that it will only monitor updated files
The text was updated successfully, but these errors were encountered: