Elastic Search 5.2.2 and X-Pack 5.2.2, xpack.monitoring

Hi,

I am using Elastic Search 5.2.2, Kibana 5.2.2 and X-Pack 5.2.2
(I referred: https://www.elastic.co/guide/en/x-pack/5.2/monitoring-settings.html)

I have main Elastic-Search-Cluster and different Monitoring-Cluster, I have to export monitoring data from my Main cluster to Monitoring cluster.

Which elasticsearch.yml following will reside:

xpack.monitoring.enabled: true

So is this meant for sending monitoring data or collecting monitoring data.

Thanks,
Amit Sinha.

The originating cluster.

Thanks.

if I do not configure Is there Default value for xpack.monitoring.enabled

It's set to enabled by default.

Thank You.