SamehSaeed (Sameh Saeed) April 14, 2024, 11:25am 1 Hello, I'm using Kibana upgrade assistant to fix a vulnerability issue, the problem is I need to resolve all warnings, one warning that i couldn't fix is this :
the setting [xpack.monitoring.collection.enabled] is currently set to [true], remove this setting (nodes impacted: [SCPRWUWS05])
I tried setting "xpack.monitoring.collection.enabled" to false in elasticsearch.yml file, but nothing was changed.
How do i disable this?
SamehSaeed (Sameh Saeed) April 15, 2024, 11:10am 2 After using metricbeat and disabled self monitoring for elasticsearch & kibana, 1 more warning popped up :
setting [xpack.monitoring.elasticsearch.collection.enabled] is deprecated and will be removed after 8.0
Is there any way to skip these warnings? Can I install the new version and import the old snapshot?
Found the solution, just need to set these 2 settings to "null" in kibana dev tools :
PUT /_cluster/settings { "xpack.monitoring.collection.enabled": null } PUT /_cluster/settings { "xpack.monitoring.elasticsearch.collection.enabled": null }
1 Like
archon810 (Artem Russakovskii) October 4, 2025, 6:52am 4 Hmm. Both of those commands return this on 9.1.4:
{ "error": { "root_cause": [ { "type": "action_request_validation_exception", "reason": "Validation Failed: 1: no settings to update;" } ], "type": "action_request_validation_exception", "reason": "Validation Failed: 1: no settings to update;" }, "status": 400 }
Even though:
{ "persistent": { "xpack": { "monitoring": { "collection": { "enabled": "true" } } } }, "transient": {} }
SamehSaeed (Sameh Saeed) October 5, 2025, 6:43am 5 Hello @archon810 ,
These settings are probably removed now (I was using ELK stack 8.10 back then), they have been deprecated long ago.
Check this URL :
archon810 (Artem Russakovskii) October 5, 2025, 5:14pm 6 You’re right, it’s deprecated, which is why I’m trying to get rid of the entry in GET /_cluster/settings
which currently returns in 9.1.4:
{ "persistent": { "xpack": { "monitoring": { "collection": { "enabled": "true" } } } }, "transient": {} }
I don’t want to keep a confusing/deprecated setting entry in there.