# Change the time interval of mysql module's status metricset

**URL:** <https://discuss.elastic.co/t/change-the-time-interval-of-mysql-modules-status-metricset/130406>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [May 3, 2018, 9:02am UTC](https://discuss.elastic.co/t/change-the-time-interval-of-mysql-modules-status-metricset/130406 "2018-05-03T09:02:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![firstpostcommenter](https://avatars.discourse-cdn.com/v4/letter/f/ad7895/32.png) [@firstpostcommenter](https://discuss.elastic.co/u/firstpostcommenter)\
**Post date:** [May 3, 2018, 9:02am UTC](https://discuss.elastic.co/t/change-the-time-interval-of-mysql-modules-status-metricset/130406/1 "2018-05-03T09:02:31Z")

</div>

Hi,  
How can I change the time interval in which the status metricset runs the 'show status' query  
Is there any such option in mysql.yml config file?  
What is the default time interval of mysql's status metricset?

Thanks.

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [May 3, 2018, 12:06pm UTC](https://discuss.elastic.co/t/change-the-time-interval-of-mysql-modules-status-metricset/130406/2 "2018-05-03T12:06:42Z")

</div>

These [settings](https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-metricbeat.html#_standard_config_options) are available to all modules in metricbeat. The `period` setting determines the interval use by the configured metricsets.

---

<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:** [May 31, 2018, 12:06pm UTC](https://discuss.elastic.co/t/change-the-time-interval-of-mysql-modules-status-metricset/130406/3 "2018-05-31T12:06:42Z")

</div>

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