Skip to content

Commit 2b96a6b

Browse files
authored
Remove dead 'beats' code (#53312)
1 parent 713e931 commit 2b96a6b

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
@@ -37,7 +37,6 @@
3737
import org.elasticsearch.xpack.core.search.action.DeleteAsyncSearchAction;
3838
import org.elasticsearch.xpack.core.search.action.GetAsyncSearchAction;
3939
import org.elasticsearch.xpack.core.search.action.SubmitAsyncSearchAction;
40-
import org.elasticsearch.xpack.core.beats.BeatsFeatureSetUsage;
4140
import org.elasticsearch.xpack.core.ccr.AutoFollowMetadata;
4241
import org.elasticsearch.xpack.core.deprecation.DeprecationInfoAction;
4342
import org.elasticsearch.xpack.core.eql.EqlFeatureSetUsage;
@@ -439,8 +438,6 @@ public List<NamedWriteableRegistry.Entry> getNamedWriteables() {
439438
new NamedWriteableRegistry.Entry(XPackFeatureSet.Usage.class, XPackField.GRAPH, GraphFeatureSetUsage::new),
440439
// logstash
441440
new NamedWriteableRegistry.Entry(XPackFeatureSet.Usage.class, XPackField.LOGSTASH, LogstashFeatureSetUsage::new),
442-
// beats
443-
new NamedWriteableRegistry.Entry(XPackFeatureSet.Usage.class, XPackField.BEATS, BeatsFeatureSetUsage::new),
444441
// ML - Custom metadata
445442
new NamedWriteableRegistry.Entry(MetaData.Custom.class, "ml", MlMetadata::new),
446443
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
@@ -84,10 +84,6 @@ private XPackSettings() {
8484
public static final Setting<Boolean> LOGSTASH_ENABLED = Setting.boolSetting("xpack.logstash.enabled", true,
8585
Setting.Property.NodeScope);
8686

87-
/** Setting for enabling or disabling Beats extensions. Defaults to true. */
88-
public static final Setting<Boolean> BEATS_ENABLED = Setting.boolSetting("xpack.beats.enabled", true,
89-
Setting.Property.NodeScope);
90-
9187
/**
9288
* Setting for enabling or disabling the index lifecycle extension. Defaults to true.
9389
*/

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)