From 7f58030fe4b42f1a48be1b8cacf2f7145fd7e533 Mon Sep 17 00:00:00 2001 From: jaymode Date: Tue, 10 Mar 2020 15:08:34 -0600 Subject: [PATCH] Deprecate beats enabled setting The setting `xpack.beats.enabled` is not used anywhere in the codebase and is not in our documentation either. This change deprecates the setting in case there is someone using it prior to it being removed. --- .../main/java/org/elasticsearch/xpack/core/XPackSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java index 82e9f2553c3ed..55a9efdc2c4cd 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java @@ -86,7 +86,7 @@ private XPackSettings() { /** Setting for enabling or disabling Beats extensions. Defaults to true. */ public static final Setting BEATS_ENABLED = Setting.boolSetting("xpack.beats.enabled", true, - Setting.Property.NodeScope); + Setting.Property.NodeScope, Property.Deprecated); /** * Setting for enabling or disabling the index lifecycle extension. Defaults to true.