mirror of
https://github.com/elastic/logstash.git
synced 2025-06-28 09:46:03 -04:00
Migrate x-pack-logstash source to logstash
This commit is contained in:
parent
155801520c
commit
93cad10da1
296 changed files with 9337 additions and 46 deletions
22
x-pack/lib/monitoring/internal_pipeline_source.rb
Normal file
22
x-pack/lib/monitoring/internal_pipeline_source.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue