Code Monkey home page Code Monkey logo

Comments (3)

suyograo avatar suyograo commented on June 22, 2024

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

from logstash-output-elasticsearch.

ankitlnct09 avatar ankitlnct09 commented on June 22, 2024

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.

from logstash-output-elasticsearch.

untergeek avatar untergeek commented on June 22, 2024

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.

from logstash-output-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.