# Metricbeat period

**URL:** <https://discuss.elastic.co/t/metricbeat-period/189300>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 8, 2019, 7:36am UTC](https://discuss.elastic.co/t/metricbeat-period/189300 "2019-07-08T07:36:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshboiina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshboiina/32/79183_2.png) [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)\
**Post date:** [July 8, 2019, 7:36am UTC](https://discuss.elastic.co/t/metricbeat-period/189300/1 "2019-07-08T07:36:07Z")

</div>

HI,

Required some info regarding period in metricbeat.yml file  
`period: 10s` by default right but why i am getting multiple documents instead of  
1 document for each 10s ?

If it is not the case then how i can control, to fetch the documents for every 10s and only one  
document each 10s?

---

<div class="post-metadata">

**Author:** ![martinr\_ubi](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@martinr\_ubi](https://discuss.elastic.co/u/martinr_ubi)\
**Post date:** [July 8, 2019, 1:13pm UTC](https://discuss.elastic.co/t/metricbeat-period/189300/2 "2019-07-08T13:13:51Z")

</div>

Metrics can use more than one document per period and you can’t change that.  
For exemple the filesystem metrics sends 1 document per period per filesystem, so 2 filesystem will give 2 docs every 10s. You can’t change that because putting many in the same document doesn’t make sense.

Other metrics can have different or varying number of document per period, the process metricset will emit 1 doc per period per process running on the server, so it varies.

Each metric is different in that regard.

---

<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:** [August 5, 2019, 1:13pm UTC](https://discuss.elastic.co/t/metricbeat-period/189300/3 "2019-08-05T13:13:52Z")

</div>

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