diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/settings/AlertingSettings.kt b/alerting/src/main/kotlin/org/opensearch/alerting/settings/AlertingSettings.kt index a0f417fe2..cc7df33ae 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/settings/AlertingSettings.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/settings/AlertingSettings.kt @@ -211,7 +211,7 @@ class AlertingSettings { val CROSS_CLUSTER_MONITORING_ENABLED = Setting.boolSetting( "plugins.alerting.cross_cluster_monitoring_enabled", - true, + false, Setting.Property.NodeScope, Setting.Property.Dynamic ) diff --git a/alerting/src/test/kotlin/org/opensearch/alerting/transport/GetRemoteIndexesActionIT.kt b/alerting/src/test/kotlin/org/opensearch/alerting/transport/GetRemoteIndexesActionIT.kt index aef16d5ae..83e24332e 100644 --- a/alerting/src/test/kotlin/org/opensearch/alerting/transport/GetRemoteIndexesActionIT.kt +++ b/alerting/src/test/kotlin/org/opensearch/alerting/transport/GetRemoteIndexesActionIT.kt @@ -26,7 +26,7 @@ import java.util.* @Suppress("UNCHECKED_CAST") class GetRemoteIndexesActionIT : AlertingRestTestCase() { - private var remoteMonitoringEnabled = true + private var remoteMonitoringEnabled = false private var remoteClusters = listOf() private val mappingFieldToTypePairs1 = listOf(