# Metricbeat Logstash output more frequent than YML files specify

**URL:** <https://discuss.elastic.co/t/metricbeat-logstash-output-more-frequent-than-yml-files-specify/149980>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 26, 2018, 10:23am UTC](https://discuss.elastic.co/t/metricbeat-logstash-output-more-frequent-than-yml-files-specify/149980 "2018-09-26T10:23:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxr801](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@fxr801](https://discuss.elastic.co/u/fxr801)\
**Post date:** [September 26, 2018, 10:23am UTC](https://discuss.elastic.co/t/metricbeat-logstash-output-more-frequent-than-yml-files-specify/149980/1 "2018-09-26T10:23:31Z")

</div>

Hi All,

I recently installed Metricbeat on a server with just the default System module, and CPU and Memory metricsets enabled.

I set the period in both the metricbeat and system YML files to be 10 seconds, and set the flush and logging periods to 10s as well for completeness.

When I view Logstash it's clear that the entries are coming in much more frequently than I specified in the YML files - they appear to be milliseconds apart. Does the period not set the timeframe that each log entry should cover, or have I missed a piece of configuration?

---

<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:** [September 26, 2018, 9:51pm UTC](https://discuss.elastic.co/t/metricbeat-logstash-output-more-frequent-than-yml-files-specify/149980/2 "2018-09-26T21:51:52Z")

</div>

Do you see just multiple events or multiple events of the same type? CPU, Memory etc. are all different events.

---

<div class="post-metadata">

**Author:** ![fxr801](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@fxr801](https://discuss.elastic.co/u/fxr801)\
**Post date:** [September 27, 2018, 7:50am UTC](https://discuss.elastic.co/t/metricbeat-logstash-output-more-frequent-than-yml-files-specify/149980/3 "2018-09-27T07:50:36Z")

</div>

Hi, thanks for the response. Each event is different, and there are only events for the metricsets that I have enabled.

I assumed that setting the period would result in the events being a culmination of the metrics for the period.

I have a 5 second refresh on my Logstash and can see new events coming in each refresh despite a 10 second period in the YMLs

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [October 2, 2018, 8:18pm UTC](https://discuss.elastic.co/t/metricbeat-logstash-output-more-frequent-than-yml-files-specify/149980/4 "2018-10-02T20:18:21Z")

</div>

Hi, for maximum clarity, would you mind posting the following here?

- Your `metricbeat.yml` file,
- Your `modules.d/system.yml` file
- Your `logstash.yml` file?
- Your logstash pipeline (the one using the `beats` input)

Thanks,

Shaunak

---

<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 30, 2018, 8:18pm UTC](https://discuss.elastic.co/t/metricbeat-logstash-output-more-frequent-than-yml-files-specify/149980/5 "2018-10-30T20:18:29Z")

</div>

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