Skip to content

Commit

Permalink
support substitutions in pipelines.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvd committed Aug 26, 2019
1 parent 2e70df0 commit 94aa7cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logstash-core/lib/logstash/config/source/multi_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

module LogStash module Config module Source
class MultiLocal < Local
include LogStash::Util::SubstitutionVariables
include LogStash::Util::Loggable

def initialize(settings)
Expand All @@ -13,7 +14,7 @@ def initialize(settings)
end

def pipeline_configs
pipelines = retrieve_yaml_pipelines()
pipelines = deep_replace(retrieve_yaml_pipelines())
pipelines_settings = pipelines.map do |pipeline_settings|
clone = @original_settings.clone
clone.merge_pipeline_settings(pipeline_settings)
Expand Down

0 comments on commit 94aa7cf

Please sign in to comment.