# Watherでインデックスサイズを監視する

**URL:** https://discuss.elastic.co/t/wather/266638
**Category:** 日本語による質問・議論はこちら
**Created:** [March 9, 2021, 6:38am UTC](https://discuss.elastic.co/t/wather/266638 "2021-03-09T06:38:32Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![taku333](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taku333/32/40375_2.png) [@taku333](https://discuss.elastic.co/u/taku333)
#### Post date: [March 11, 2021, 2:53am UTC](https://discuss.elastic.co/t/wather/266638/2 "2021-03-11T02:53:13Z")

</div>

Stack監視使用している「.monitoring-es-7\*」のインデックスを使用すればできるような気がします。

「index\_stats.index」のfiledで、絞り込んで「index\_stats.total.store.size\_in\_bytes」で閾値を設定すればできるかもしません。

自分も実際に試したのではなくDiscoverよりfiledのみ簡単に確認したのみです。  
どちらのfiledも恐らくこれだろうというものなので、検証とか他のフィールドの確認も必要かと思われます。

> [@Best way to create a watcher that checks index store size](https://discuss.elastic.co/t/best-way-to-create-a-watcher-that-checks-index-store-size/199456):
>
> I'm trying to create a watcher that checks on the store size of an index pattern. I can easily see the information from Devtools by GET /index/stats/store, but how do I do this in a watcher? I'm trying to do an http type request as referenced below, but I'm running into problems doing this. Is this the only way to do it? [https://www.elastic.co/guide/en/elastic-stack-overview/7.2/input-http.html](https://www.elastic.co/guide/en/elastic-stack-overview/7.2/input-http.html)

---

_[View the full topic](https://discuss.elastic.co/t/wather/266638)._
