Migrate x-pack-logstash source to logstash

This commit is contained in:
Jenkins CI 2018-04-20 19:11:15 +00:00 committed by Andrew Cholakian
parent 155801520c
commit 93cad10da1
296 changed files with 9337 additions and 46 deletions

View file

@ -0,0 +1,22 @@
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License;
# you may not use this file except in compliance with the Elastic License.
require "logstash/config/source/base"
module LogStash module Monitoring
class InternalPipelineSource < LogStash::Config::Source::Base
def initialize(pipeline_config)
super(pipeline_config.settings)
@pipeline_config = pipeline_config
end
def pipeline_configs
return @pipeline_config
end
def match?
true
end
end
end end