# How to config different peroid for different metricset of system module?

**URL:** <https://discuss.elastic.co/t/how-to-config-different-peroid-for-different-metricset-of-system-module/100762>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 16, 2017, 12:52pm UTC](https://discuss.elastic.co/t/how-to-config-different-peroid-for-different-metricset-of-system-module/100762 "2017-09-16T12:52:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PChou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pchou/32/22169_2.png) [@PChou](https://discuss.elastic.co/u/PChou)\
**Post date:** [September 16, 2017, 12:52pm UTC](https://discuss.elastic.co/t/how-to-config-different-peroid-for-different-metricset-of-system-module/100762/1 "2017-09-16T12:52:56Z")

</div>

system module contains some useful metricset: cpu memory diskio network... but they share a single `peroid` configuration item, which means we are not able to use different frequency for different metricset.

is there any workaround? or is there any need to add support in future releases?

---

<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:** [September 18, 2017, 12:29pm UTC](https://discuss.elastic.co/t/how-to-config-different-peroid-for-different-metricset-of-system-module/100762/2 "2017-09-18T12:29:20Z")

</div>

Hi @PChou,

You can always instantiate the module several times, with different metricsets, actually, we ship exactly that in the defaults:

```auto
- module: system
  period: 10s
  metricsets:
    - cpu
    - load
    - memory
    - network
    - process
    - process_summary
    #- core
    #- diskio
    #- socket
  processes: ['.*']
  process.include_top_n:
    by_cpu: 5 # include top 5 processes by CPU
    by_memory: 5 # include top 5 processes by memory

- module: system
  period: 1m
  metricsets:
    - filesystem
    - fsstat

- module: system
  period: 15m
  metricsets:
    - uptime

```

---

<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:** [October 16, 2017, 12:29pm UTC](https://discuss.elastic.co/t/how-to-config-different-peroid-for-different-metricset-of-system-module/100762/3 "2017-10-16T12:29:28Z")

</div>

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