-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
allow outputting resulting config file when merging multiple ones #3243
Comments
We already have the -t flag to check the validity of the config file, I think it would be interesting to implement your suggestion as a verbose flag for -t, such as:
|
ideally show which config file is contributing to each part of the merged config |
+1 on this! |
I think this should be pretty simple to do. I'll see about making it happen in the next release. Can you confirm what kind of output you want? Something like a comment-annotated form of what files are providing what sections of the config file? |
+1 on a |
ooooh I like that, adding --verbose to --config-test would make it output an annotated, concatenated config file? |
@nellicus @gmoskovicz Can you comment and let us know if the proposed interface ( |
+1 |
@jordansissel works for me, but also, perhaps i was thinking something more like |
@jordansissel I'm with @colinsurprenant +1 on a -v verbose option in conjunction of -t |
This only works when the `--debug` flag is also enabled. fixes elastic#3243
This only works when the `--debug` flag is also enabled. fixes elastic#3243 Changes to log formatting per request Change :file to :config_file :file gets overridden by `logstash/agent.rb`, so a different symbol is necessary. Changing to `:config_file`
This is resolved. In 2.1, combining |
This looks great!! |
nice 👍 |
We added new --debug option in elastic#3243, adding it to CLI flags
The text was updated successfully, but these errors were encountered: