-
Notifications
You must be signed in to change notification settings - Fork 107
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
read multiple configs from directory #5
Comments
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 |
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 :) |
Yeh nobody would want that :-P It would be like:
Glob support of course. |
I read through elastic/logstash-forwarder#136 I got it in while on the train and works pretty good. Feedback welcome :) Instructions here: |
Thanks, looks to be working great! |
Hi,
Any plans to pull this over to log-courier - elastic/logstash-forwarder#136 ?
Would be great to have ability to load multiple config files based on the server roles.
The text was updated successfully, but these errors were encountered: