mirror of
https://github.com/elastic/logstash.git
synced 2025-04-19 04:15:23 -04:00
22 lines
606 B
Ruby
22 lines
606 B
Ruby
# 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
|