-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Enable Metricbeat diskio module (#73)
- Loading branch information
1 parent
653462f
commit a4c44c6
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Module: system | ||
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.5/metricbeat-module-system.html | ||
|
||
- module: system | ||
period: 10s | ||
metricsets: | ||
- cpu | ||
- load | ||
- memory | ||
- network | ||
- process | ||
- process_summary | ||
- socket_summary | ||
- diskio | ||
#- entropy | ||
#- core | ||
#- socket | ||
process.include_top_n: | ||
by_cpu: 5 # include top 5 processes by CPU | ||
by_memory: 5 # include top 5 processes by memory | ||
{% if (metricbeat.diskio.include_devices is defined and (metricbeat.diskio.include_devices | length)) %} | ||
# Custom diskio settings | ||
diskio.include_devices: {{ metricbeat.diskio.include_devices }} | ||
{% endif %} | ||
- module: system | ||
period: 1m | ||
metricsets: | ||
- filesystem | ||
- fsstat | ||
processors: | ||
- drop_event.when.regexp: | ||
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)' | ||
|
||
- module: system | ||
period: 15m | ||
metricsets: | ||
- uptime |