Comments (5)
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.
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.
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.
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.
Thanks, looks to be working great!
from log-courier.
Related Issues (20)
- Duplicates observed when log-courier configuration file is overwritten HOT 3
- Undocumented behavior for paths matched by multiple fileglobs HOT 1
- log-courier can't seem to handle `~` for home in certain contexts. HOT 2
- error in logstash 7 HOT 4
- log-courier and logstash > 7.4.0? HOT 10
- Throughput question HOT 15
- does the includes configuration still work correctly? HOT 3
- Hold time setting not closing files properly
- syslog "progname" uses a full path rather than a basename HOT 1
- Information about payloads / different debug level ? HOT 3
- error while compiling code in the command line using MK in windows for Z wave HOT 1
- version.rb missing from the plugin package
- log-courier admin socket stuck HOT 2
- lc-admin does not default to tcp transport HOT 2
- order of files in lc-admin UI
- Logstash configuration auto reload is blocked by log-courier input HOT 2
- PPA packaging is using deprecated compatibility level 9 HOT 1
- 2.10.0 packages missing from PPA (Ubuntu)
- Receiver reload can cause panic
- TCP streaming receiver aborts if too many events received
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from log-courier.