# Disk space alert from ElasticSearch or Logstash

**URL:** https://discuss.elastic.co/t/disk-space-alert-from-elasticsearch-or-logstash/194262
**Category:** Elasticsearch
**Created:** [August 7, 2019, 2:53pm UTC](https://discuss.elastic.co/t/disk-space-alert-from-elasticsearch-or-logstash/194262 "2019-08-07T14:53:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bharatwaj](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@bharatwaj](https://discuss.elastic.co/u/bharatwaj)
#### Post date: [August 7, 2019, 2:53pm UTC](https://discuss.elastic.co/t/disk-space-alert-from-elasticsearch-or-logstash/194262/1 "2019-08-07T14:53:01Z")

</div>

I need to trigger a mail whenever logstash or elastic server is about to hit 95% of the disk space. Like i would like to trigger mail when the usage is almost 85%. Is this possible.

---

<div class="post-metadata">

### Author: ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)
#### Post date: [August 7, 2019, 5:43pm UTC](https://discuss.elastic.co/t/disk-space-alert-from-elasticsearch-or-logstash/194262/2 "2019-08-07T17:43:45Z")

</div>

If you are using metricbeats, it monitors system filesystems by default. You would just have to create a watch for your configuration.

Here are sample fields from the metricbeat index

![Capture](https://us1.discourse-cdn.com/elastic/original/3X/0/d/0dbee87ba0153242f3a9858c6facaa443e4cd97f.png)

---

<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: [September 4, 2019, 5:43pm UTC](https://discuss.elastic.co/t/disk-space-alert-from-elasticsearch-or-logstash/194262/3 "2019-09-04T17:43:47Z")

</div>

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