# Configure metric collection frequency dynamically

**URL:** <https://discuss.elastic.co/t/configure-metric-collection-frequency-dynamically/122796>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 6, 2018, 11:15pm UTC](https://discuss.elastic.co/t/configure-metric-collection-frequency-dynamically/122796 "2018-03-06T23:15:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![musician](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@musician](https://discuss.elastic.co/u/musician)\
**Post date:** [March 6, 2018, 11:15pm UTC](https://discuss.elastic.co/t/configure-metric-collection-frequency-dynamically/122796/1 "2018-03-06T23:15:15Z")

</div>

It is possible to configure the collection frequency dynamically? A use case would be to decrease the frequency during night and restore during the day.

---

<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:** [March 12, 2018, 1:22am UTC](https://discuss.elastic.co/t/configure-metric-collection-frequency-dynamically/122796/2 "2018-03-12T01:22:24Z")

</div>

This sounds like an interesting feature, although it's not supported at the moment. Feel free to open a new feature request in our github: [https://github.com/elastic/beats/issues](https://github.com/elastic/beats/issues)

Also, you could use[live config reloading](https://www.elastic.co/guide/en/beats/metricbeat/6.2/_live_reloading.html) as a workaround to achieve this. You would need to write a cron job that swaps config files, Metricbeat will reload them and use the new timings.

---

<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:** [April 9, 2018, 1:22am UTC](https://discuss.elastic.co/t/configure-metric-collection-frequency-dynamically/122796/3 "2018-04-09T01:22:35Z")

</div>

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