# Question about xpack.monitornig.\* settings

**URL:** <https://discuss.elastic.co/t/question-about-xpack-monitornig-settings/319090>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [November 16, 2022, 2:40pm UTC](https://discuss.elastic.co/t/question-about-xpack-monitornig-settings/319090 "2022-11-16T14:40:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccaillet](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@ccaillet](https://discuss.elastic.co/u/ccaillet)\
**Post date:** [November 16, 2022, 2:40pm UTC](https://discuss.elastic.co/t/question-about-xpack-monitornig-settings/319090/1 "2022-11-16T14:40:31Z")

</div>

Hi all,

I've seen that xpack.monitoring.\* settings have been deprecated and I haven't found the replacement settings ...

I would like to know if anyone could point me a documentation about those settings and what are the settings that we need to used now

Thanks by advance for your replies.

Regards  
Christophe

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [November 16, 2022, 3:20pm UTC](https://discuss.elastic.co/t/question-about-xpack-monitornig-settings/319090/2 "2022-11-16T15:20:12Z")

</div>

I don't think there is a replacement for this settings, this is related to the self-monitoring , which Elastic calls legacy now, it will probably stop working in future versions.

The way to monitor a cluster is using [Metricbeat](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-metricbeat.html), but the documentation is still outdated and mentions the `xpack.monitoring.*`, you can ignore the first step in this documentation as there is no need to set any `xpack.monitoring.*`.

---

<div class="post-metadata">

**Author:** ![ccaillet](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@ccaillet](https://discuss.elastic.co/u/ccaillet)\
**Post date:** [November 16, 2022, 3:28pm UTC](https://discuss.elastic.co/t/question-about-xpack-monitornig-settings/319090/3 "2022-11-16T15:28:31Z")

</div>

Thanks for the reply

So if I understand correctly on ECK no need to defined xpack.monitoring settings using only monitoring directives on manifests definition for elasticsearc, kibana and other objetcs related to the operator right ?

And other subsidiary question : we need to use ILM for defining the duration of monitoring informations on monitoring cluster or do we need to use another method for defining this duration ?

Regards

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [November 16, 2022, 4:29pm UTC](https://discuss.elastic.co/t/question-about-xpack-monitornig-settings/319090/4 "2022-11-16T16:29:55Z")

</div>

It doesn't matter if you are running on ECK or not, if you are using Metricbeat to monitor your cluster and send your data to a monitoring cluster, then you can ignore the `xpack.monitoring.*` settings.

When you install metricbeat it already creats a default ILM policy, so you do not need to create one.

---

<div class="post-metadata">

**Author:** ![ccaillet](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@ccaillet](https://discuss.elastic.co/u/ccaillet)\
**Post date:** [November 17, 2022, 7:54am UTC](https://discuss.elastic.co/t/question-about-xpack-monitornig-settings/319090/5 "2022-11-17T07:54:45Z")

</div>

Thanks for all 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 15, 2022, 7:55am UTC](https://discuss.elastic.co/t/question-about-xpack-monitornig-settings/319090/6 "2022-12-15T07:55:19Z")

</div>

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