Skip to content

Commit 90e05a2

Browse files
committed
Remove dead 'beats' code (elastic#53312)
1 parent 02f5d18 commit 90e05a2

File tree

3 files changed

+0
-31
lines changed

3 files changed

+0
-31
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClientPlugin.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
import org.elasticsearch.xpack.core.action.XPackInfoAction;
4040
import org.elasticsearch.xpack.core.action.XPackUsageAction;
4141
import org.elasticsearch.xpack.core.analytics.AnalyticsFeatureSetUsage;
42-
import org.elasticsearch.xpack.core.beats.BeatsFeatureSetUsage;
4342
import org.elasticsearch.xpack.core.ccr.AutoFollowMetadata;
4443
import org.elasticsearch.xpack.core.ccr.CCRFeatureSet;
4544
import org.elasticsearch.xpack.core.deprecation.DeprecationInfoAction;
@@ -477,8 +476,6 @@ public List<NamedWriteableRegistry.Entry> getNamedWriteables() {
477476
new NamedWriteableRegistry.Entry(XPackFeatureSet.Usage.class, XPackField.GRAPH, GraphFeatureSetUsage::new),
478477
// logstash
479478
new NamedWriteableRegistry.Entry(XPackFeatureSet.Usage.class, XPackField.LOGSTASH, LogstashFeatureSetUsage::new),
480-
// beats
481-
new NamedWriteableRegistry.Entry(XPackFeatureSet.Usage.class, XPackField.BEATS, BeatsFeatureSetUsage::new),
482479
// ML - Custom metadata
483480
new NamedWriteableRegistry.Entry(MetaData.Custom.class, "ml", MlMetadata::new),
484481
new NamedWriteableRegistry.Entry(NamedDiff.class, "ml", MlMetadata.MlMetadataDiff::new),

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ private XPackSettings() {
9090
public static final Setting<Boolean> LOGSTASH_ENABLED = Setting.boolSetting("xpack.logstash.enabled", true,
9191
Setting.Property.NodeScope);
9292

93-
/** Setting for enabling or disabling Beats extensions. Defaults to true. */
94-
public static final Setting<Boolean> BEATS_ENABLED = Setting.boolSetting("xpack.beats.enabled", true,
95-
Setting.Property.NodeScope);
96-
9793
/**
9894
* Setting for enabling or disabling the index lifecycle extension. Defaults to true.
9995
*/

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/beats/BeatsFeatureSetUsage.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)