# ESの「.monitoring-es-6-yyyymm.dd」の保存期間変更と対象限定について

**URL:** https://discuss.elastic.co/t/es-monitoring-es-6-yyyymm-dd/217315
**Category:** 日本語による質問・議論はこちら
**Created:** [January 31, 2020, 7:55am UTC](https://discuss.elastic.co/t/es-monitoring-es-6-yyyymm-dd/217315 "2020-01-31T07:55:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tsgkdt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsgkdt/32/39151_2.png) [@tsgkdt](https://discuss.elastic.co/u/tsgkdt)
#### Post date: [January 31, 2020, 8:22am UTC](https://discuss.elastic.co/t/es-monitoring-es-6-yyyymm-dd/217315/2 "2020-01-31T08:22:17Z")

</div>

既にご覧になっているかもしれませんが、下記が似ている内容かとおもいました。

> [@Deleting Old Monitoring Indices](https://discuss.elastic.co/t/deleting-old-monitoring-indices/90987):
>
> With reference to the following post: I've noticed today that my monitoring cluster (single node) isn't deleting any old indices. I haven't changed any of the default settings ad I now find myself with indices going back several months, and a very full disk. I need to delete them and get the automatic deletion working. So what can prevent the automatic deletion mechanism from working? Is there anywhere I can check to see why they haven't been deleting automatically after 7 days? Does the clus…

ここでは、以下のように回答がついていました。

> the retention duration can be configured using the setting `xpack.monitoring.history.duration` if you have a non-basic license

べーシックライセンスでないものを持っているなら、と。

サブスクリプションのページを見てみますと、「スタック監視」-「データの保存期間設定」では、確かにベーシックライセンスでは使えないことになっています。

> **[サブスクリプション | Elastic Stackプロダクトとサポート | Elastic](https://www.elastic.co/jp/subscriptions)**
>
> Elastic Stack（Elasticsearch、Kibana、Beat、Logstash）、Elastic Cloud、Elastic Cloud Enterpriseのサブスクリプション、料金、および、オンプレミス向けサービス内容はこちら。

お使いのライセンスがベーシックでないゴールド以上のものであればdurationの設定をしていただけそうです。

また、お使いのバージョンですと、Index Lifecycle Managementも使えないので、手動でcurator を使って消すぐらいしか思いつきません。。。

---

_[View the full topic](https://discuss.elastic.co/t/es-monitoring-es-6-yyyymm-dd/217315)._
