# How to store index in elasticsearch if disk space is full on server

**URL:** <https://discuss.elastic.co/t/how-to-store-index-in-elasticsearch-if-disk-space-is-full-on-server/315520>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 30, 2022, 6:21am UTC](https://discuss.elastic.co/t/how-to-store-index-in-elasticsearch-if-disk-space-is-full-on-server/315520 "2022-09-30T06:21:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aniketdatir](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@aniketdatir](https://discuss.elastic.co/u/aniketdatir)\
**Post date:** [September 30, 2022, 6:21am UTC](https://discuss.elastic.co/t/how-to-store-index-in-elasticsearch-if-disk-space-is-full-on-server/315520/1 "2022-09-30T06:21:43Z")

</div>

Hi team,

I want to store disk space related data in to elastic index through Metricbeat.  
kindly guide me how to achieve this?

---

<div class="post-metadata">

**Author:** ![aniketdatir](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@aniketdatir](https://discuss.elastic.co/u/aniketdatir)\
**Post date:** [October 4, 2022, 10:41am UTC](https://discuss.elastic.co/t/how-to-store-index-in-elasticsearch-if-disk-space-is-full-on-server/315520/2 "2022-10-04T10:41:38Z")

</div>

Hi

Below is my metricbeat.yml file

# ================== Modules configuration ============================

metricbeat.config.modules:  
path: ${path.config}/modules.d/\*.yml  
reload.enabled: false  
module: system  
period: 30s  
metricsets: ["filesystem"]

But still metricbeat not sending filesystem data into elastic index.

is there anything m missing...kindly guide me.

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [October 10, 2022, 7:21pm UTC](https://discuss.elastic.co/t/how-to-store-index-in-elasticsearch-if-disk-space-is-full-on-server/315520/3 "2022-10-10T19:21:25Z")

</div>

Hey @aniketdatir,

It seems that the format of your configuration file is not correct, I guess that this is a problem when pasting to the forum. When pasting configuration, please try to use the `</>` button to enclose the code.

Do you have the `module: system` configuration in the `metricbeat.yml` file? Modules configuraton should be in the `modules.d/*.yml` files. Do you have a `system.yml` file there?

---

<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:** [November 7, 2022, 7:21pm UTC](https://discuss.elastic.co/t/how-to-store-index-in-elasticsearch-if-disk-space-is-full-on-server/315520/4 "2022-11-07T19:21:38Z")

</div>

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