Tried to export monitoring to remote cluster unsuccessfully

I tried to add the setting to allow me to see the monitoring data local and send it to a monitoring cluster.

PUT _cluster/settings
{
"persistent": {
"xpack.monitoring.exporters.cloud_monitoring.type": "http",
"xpack.monitoring.exporters.cloud_monitoring.host": "MONITORING_ELASTICSEARCH_URL",
"xpack.monitoring.exporters.cloud_monitoring.auth.username": "cloud_monitoring_agent",
"xpack.monitoring.exporters.cloud_monitoring.auth.password": "MONITORING_AGENT_PASSWORD",
"xpack.monitoring.exporters.local_monitoring.type": "local"
}
}

As per the directions... tho it did not work...

I should have added this to the .yml to test it first

Now I cannot access Kibana:

Receiving the following error:

Getting the following error:

anhealth.com}{172.23.174.103:9300}{xpack.installed=true}}]
org.elasticsearch.common.settings.SettingsException: missing exporter type for
[cloud_monitoring] exporter
at org.elasticsearch.xpack.monitoring.exporter.Exporters.initExporters(Exporters.java:122) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.Exporters.setExportersSetting(Exporters.java:71) ~[?:?]
at org.elasticsearch.common.settings.Setting$2.apply(Setting.java:639) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.Setting$2.apply(Setting.java:612) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings$SettingUpdater.lambda$updater$0(AbstractScopedSettings.java:610) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.applySettings(AbstractScopedSettings.java:191) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:460) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:418) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:165) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:688) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-7.2.1.jar:7.2.1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
[2019-09-16T13:52:48,816][INFO ][o.e.c.s.ClusterApplierService] [coodination-1] master node changed {previous [{master-data-2}{lJ9QaR6DTKa3RNDwIYXgow}{a_ZV3rh0TZuJE_-ceoSP-A}{dhpxtlmdp2.dhp.ad.deanhealth.com}{172.23.174.102:9300}{ml.machine_memory=16795611136, ml.max_open_jobs=20, xpack.installed=true}], current }, term: 266965, version: 347053, reason: becoming candidate: joinLeaderInTerm
[2019-09-16T13:52:48,819][WARN ][o.e.c.s.ClusterSettings ] [coodination-1] failed to apply settings
org.elasticsearch.common.settings.SettingsException: missing exporter type for [cloud_monitoring] exporter
at org.elasticsearch.xpack.monitoring.exporter.Exporters.initExporters(Exporters.java:122) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.Exporters.setExportersSetting(Exporters.java:71) ~[?:?]
at org.elasticsearch.common.settings.Setting$2.apply(Setting.java:639) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.Setting$2.apply(Setting.java:612) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings$SettingUpdater.lambda$updater$0(AbstractScopedSettings.java:610) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.applySettings(AbstractScopedSettings.java:191) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:460) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:418) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:165) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:688) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-7.2.1.jar:7.2.1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.