Skip to content

Commit 4dc919a

Browse files
committed
management: deprecate legacy hidden index source (ES < 7.10)
1 parent 252d4e0 commit 4dc919a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/lib/config_management/elasticsearch_source.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ class LegacyHiddenIndicesFetcher
289289
PIPELINE_INDEX = ".logstash"
290290

291291
def fetch_config(es_version, pipeline_ids, client)
292+
deprecation_logger.deprecated("Fetching pipeline configs from Elasticsearch #{es_version}; Central Management will soon require Elasticsearch 8.x+")
292293
request_body_string = LogStash::Json.dump({ "docs" => pipeline_ids.collect { |pipeline_id| { "_id" => pipeline_id } } })
293294
retry_handler = ::LogStash::Helpers::LoggableTry.new(logger, 'fetch pipelines from Central Management')
294295
response = retry_handler.try(10.times, ::LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError) do

0 commit comments

Comments
 (0)