# Metricbeat filesystem usage setting in units

**URL:** <https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 27, 2017, 12:55pm UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572 "2017-10-27T12:55:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![arun\_prasath1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arun_prasath1/32/49539_2.png) [@arun\_prasath1](https://discuss.elastic.co/u/arun_prasath1)\
**Post date:** [October 27, 2017, 12:55pm UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572/1 "2017-10-27T12:55:25Z")

</div>

I have 2 ELK setup with metricbeat configured to find the filesystem usage. The metricbeat.yml is like below in both the environment. But in env-01 i could see the units (GB, MB and % for the values) and in env-02 it is in decimals. Where should I update to get the units in env-02.

> metricbeat.modules:
> 
> - module: system  
> metricsets:
> - cpu
> - load
> - core
> - diskio
> - filesystem
> - fsstat
> - memory
> - network
> - process  
> enabled: true  
> period: 10s  
> processes: ['.\*']  
> output.elasticsearch:  
> hosts: ["hostname.domain:9200"]  
> logging.level: warning

From Kibana discover page, i could see the below. Is there any thing i am missing in env-02.  
**Env-01**

- 

```
> # system.filesystem.free     199.999GB

```

- 

```
> # system.filesystem.free_files     7,402,970

```

- 

```
> t system.filesystem.mount_point     /var/opt

```

- 

```
> # system.filesystem.total     199.102GB

```

- 

```
> # system.filesystem.used.bytes     1.374GB

```

- 

```
> # system.filesystem.used.pct     1.24%

```

- 

```
> t type     metricsets

```

> 

**Env-02**

- 

```
> # system.filesystem.free     196,999,999

```

- 

```
> # system.filesystem.free_files     63,956

```

- 

```
> t system.filesystem.mount_point     /var/opt

```

- 

```
> # system.filesystem.total     249,699,759

```

- 

```
> # system.filesystem.used.bytes     62,699,040

```

- 

```
> # system.filesystem.used.pct     0.251

```

- 

```
> t type     metricsets

```

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [October 27, 2017, 1:31pm UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572/2 "2017-10-27T13:31:51Z")

</div>

Are you using the same version of the whole Elastic Stack? Did you run the setup process on both instances? Looks like index patterns were not correctly installed

---

<div class="post-metadata">

**Author:** ![arun\_prasath1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arun_prasath1/32/49539_2.png) [@arun\_prasath1](https://discuss.elastic.co/u/arun_prasath1)\
**Post date:** [October 27, 2017, 1:50pm UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572/3 "2017-10-27T13:50:40Z")

</div>

Yes, having the same ELK versions. Installed versions are,  
elasticsearch-5.0.1-1.noarch  
logstash-5.0.1-1.noarch  
kibana-5.0.1-1.x86\_64  
metricbeat-5.2.2-1.x86\_64  
What you mean running the setup process on both the instances? I have completely 2 isolated ELK setup for testing and Prod environment. How to test the index patterns are installed correctly and anyway to fix it if it is corrupted? please suggest.

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [October 30, 2017, 10:10am UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572/4 "2017-10-30T10:10:46Z")

</div>

Perhaps you can compare existing index patterns in both setups, go to `Settings > Indices` and check for metricbeat index template, both should have a similar number of registered fields. These are the docs for index patterns: [https://www.elastic.co/guide/en/kibana/5.0/index-patterns.html](https://www.elastic.co/guide/en/kibana/5.0/index-patterns.html)

---

<div class="post-metadata">

**Author:** ![arun\_prasath1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arun_prasath1/32/49539_2.png) [@arun\_prasath1](https://discuss.elastic.co/u/arun_prasath1)\
**Post date:** [October 30, 2017, 11:32am UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572/5 "2017-10-30T11:32:29Z")

</div>

Yes, I did verified the values in the index and it is same (in decimals). So the data is available in decimals in the elasticsearch indexes in both the environment. But when it is displayed in Kibana it is converted to percentage. I have not used any scripted field but it is showing in percentage form.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [October 30, 2017, 9:01pm UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572/6 "2017-10-30T21:01:39Z")

</div>

> [@arun\_prasath1](#):
>
> What you mean running the setup process on both the instances?

The setup process involves running the import\_dashboards tool which installs the index pattern for metricbeat to Kibana. This index pattern includes information about how to format certain fields (like bytes and percentages). See [Importing Existing Beat Dashboards](https://www.elastic.co/guide/en/beats/libbeat/5.6/import-dashboards.html).

---

<div class="post-metadata">

**Author:** ![arun\_prasath1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arun_prasath1/32/49539_2.png) [@arun\_prasath1](https://discuss.elastic.co/u/arun_prasath1)\
**Post date:** [November 6, 2017, 2:26pm UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572/7 "2017-11-06T14:26:33Z")

</div>

Thanks Andrewkroh for the input. I will go through the links and see what it is and will come back.

---

<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 4, 2017, 2:27pm UTC](https://discuss.elastic.co/t/metricbeat-filesystem-usage-setting-in-units/105572/8 "2017-12-04T14:27:04Z")

</div>

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