# Different poll periods for different stats

**URL:** <https://discuss.elastic.co/t/different-poll-periods-for-different-stats/54833>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 6, 2016, 2:11pm UTC](https://discuss.elastic.co/t/different-poll-periods-for-different-stats/54833 "2016-07-06T14:11:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zfs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zfs/32/13370_2.png) [@Zfs](https://discuss.elastic.co/u/Zfs)\
**Post date:** [July 6, 2016, 2:11pm UTC](https://discuss.elastic.co/t/different-poll-periods-for-different-stats/54833/1 "2016-07-06T14:11:13Z")

</div>

Running the daily build - filebeat-5.0.0-alpha5-SNAPSHOT-windows-x86

Is it possible to have multiple metricsets that support different polling periods?  
I would like to have the filesystem metric checked at a slower interval than my other metrics.

Thanks

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [July 6, 2016, 2:44pm UTC](https://discuss.elastic.co/t/different-poll-periods-for-different-stats/54833/2 "2016-07-06T14:44:48Z")

</div>

As you talk about metricsets, I assume you are referring to metricbeat and not filebeat.

You can define a module multiple times with same or different metricsets with different periods.

```auto
metricbeat.modules:
- module: system
  metricsets: ["cpu"]
  enabled: true
  period: 1s
- module: system
  metricsets: ["memory", "core"]
  enabled: true
  period: 10s

```

---

<div class="post-metadata">

**Author:** ![Zfs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zfs/32/13370_2.png) [@Zfs](https://discuss.elastic.co/u/Zfs)\
**Post date:** [July 6, 2016, 5:36pm UTC](https://discuss.elastic.co/t/different-poll-periods-for-different-stats/54833/3 "2016-07-06T17:36:51Z")

</div>

Correct metricbeat. Thanks this is very handy.

---

<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:** [July 8, 2016, 6:17pm UTC](https://discuss.elastic.co/t/different-poll-periods-for-different-stats/54833/4 "2016-07-08T18:17:24Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
