Skip to content

Commit

Permalink
Central management typeless API
Browse files Browse the repository at this point in the history
This commit adopts Elasticsearch's typeless API for central management.

Relates: elastic/elasticsearch#3863
  • Loading branch information
jakelandis committed Feb 8, 2019
1 parent 51d7723 commit 03818b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x-pack/lib/config_management/elasticsearch_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class ElasticsearchSource < LogStash::Config::Source::Base
class RemoteConfigError < LogStash::Error; end

PIPELINE_INDEX = ".logstash"
PIPELINE_TYPE = "doc"
VALID_LICENSES = %w(trial standard gold platinum)
FEATURE_INTERNAL = 'management'
FEATURE_EXTERNAL = 'logstash'
Expand Down Expand Up @@ -138,7 +137,7 @@ def fetch_config(pipeline_ids)
end

def config_path
"#{PIPELINE_INDEX}/#{PIPELINE_TYPE}/_mget"
"#{PIPELINE_INDEX}/_mget"
end

def populate_license_state(xpack_info)
Expand Down

0 comments on commit 03818b6

Please sign in to comment.