Giter Site home page Giter Site logo

Comments (5)

driskell avatar driskell commented on June 24, 2024

It's one of the things I want to do, yes. I think there was a PR there but I wasn't sure on its approach.

I was thinking of having a "configs" as well as "files" or something, which lists a set of config files to load. And those config files would simply be JSON arrays (like "files" is) which are added in. I think the PR I saw was merging in "network" too and I didn't think that was straight forward.

If that's around what you are thinking it's on the roadmap.

Jason

from log-courier.

sysmonk avatar sysmonk commented on June 24, 2024

If you mean that you plan to add something like "configs": [ { "paths": [ "/etc/log-courier.d/*.conf" ] } ] then that's great, but if we need to list all the configs separately - then not really what i want :)

from log-courier.

driskell avatar driskell commented on June 24, 2024

Yeh nobody would want that :-P

It would be like:

"file_configs": [ "/etc/log-courier/conf.d/*.conf" ]

Glob support of course.

from log-courier.

driskell avatar driskell commented on June 24, 2024

I read through elastic/logstash-forwarder#136
I looked at elastic/logstash-forwarder#154 too but I tried a different approach I thought would be better. That is to have a main config file and these additional files just for files configuration and not network.

I got it in while on the train and works pretty good. Feedback welcome :)

Instructions here:
https://github.com/driskell/log-courier/blob/stable/docs/Configuration.md#includes

from log-courier.

sysmonk avatar sysmonk commented on June 24, 2024

Thanks, looks to be working great!

from log-courier.

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.