# Fsusedsize in dbstats of mongodb

**URL:** <https://discuss.elastic.co/t/fsusedsize-in-dbstats-of-mongodb/205984>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 31, 2019, 6:38am UTC](https://discuss.elastic.co/t/fsusedsize-in-dbstats-of-mongodb/205984 "2019-10-31T06:38:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandu5565](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@chandu5565](https://discuss.elastic.co/u/chandu5565)\
**Post date:** [October 31, 2019, 6:38am UTC](https://discuss.elastic.co/t/fsusedsize-in-dbstats-of-mongodb/205984/1 "2019-10-31T06:38:55Z")

</div>

Hi,

I am trying to show the fs size of mongodb. Which i can get by using statement in mongodb as db.stats(). But when I fetch the data using metricbeat mongodb module it is not fetching the fsusedsize, fstotal size.  
I have enabled the mongodb module dbstats.

below is the outcome from mongodb when I use db.stats()

{  
"db" : "INFRA-MONITORING",  
"collections" : 1,  
"views" : 0,  
"objects" : 184080,  
"avgObjSize" : 407.947099087353,  
"dataSize" : 75094902.0,  
"storageSize" : 15323136.0,  
"numExtents" : 0,  
"indexes" : 1,  
"indexSize" : 7761920.0,  
"fsUsedSize" : 1715961856.0,  
"fsTotalSize" : 101327663104.0,  
"ok" : 1.0  
}

Any help will be really appreciated.

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [October 31, 2019, 10:14am UTC](https://discuss.elastic.co/t/fsusedsize-in-dbstats-of-mongodb/205984/2 "2019-10-31T10:14:51Z")

</div>

Hi @chandu5565 🙂

The current version of Metricbeat doesn't fetch those parameters. If you want you can open a enhancement request in the Github repo [https://github.com/elastic/beats](https://github.com/elastic/beats)

---

<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 28, 2019, 10:14am UTC](https://discuss.elastic.co/t/fsusedsize-in-dbstats-of-mongodb/205984/3 "2019-11-28T10:14:52Z")

</div>

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