Different poll periods for different stats


(Trevor Dodds) #1

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


(ruflin) #2

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.

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

(Trevor Dodds) #3

Correct metricbeat. Thanks this is very handy.


(Andrew Kroh) #4

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