-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Metricbeat default config to reduce disk space (#4329)
This implements several changes from #4112: * reduce the frequency for the fsstats and filesystem * filter out some filesystems by mount point * set one shard by default * enable best_compression by default
- Loading branch information
1 parent
6964a1a
commit 2f8d7bc
Showing
7 changed files
with
46 additions
and
78 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#==================== Elasticsearch template setting ========================== | ||
setup.template.settings: | ||
index.number_of_shards: 1 | ||
index.codec: best_compression | ||
#_source.enabled: false |
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 |
---|---|---|
@@ -1,40 +1,25 @@ | ||
- module: system | ||
enabled: true | ||
period: 10s | ||
metricsets: | ||
# CPU stats | ||
- cpu | ||
|
||
# System Load stats | ||
- load | ||
|
||
# Per CPU core stats | ||
- memory | ||
#- core | ||
|
||
# IO stats | ||
#- diskio | ||
|
||
# Per filesystem stats | ||
- filesystem | ||
|
||
# File system summary stats | ||
- fsstat | ||
|
||
# Memory stats | ||
- memory | ||
|
||
# Network stats | ||
- network | ||
|
||
# Processes summary | ||
- process_summary | ||
|
||
# Per process stats | ||
- process | ||
|
||
# Sockets (linux only) | ||
#- socket | ||
enabled: true | ||
period: 10s | ||
processes: ['.*'] | ||
process.include_top_n: | ||
by_cpu: 5 # include top 5 processes by CPU | ||
by_memory: 5 # include top 5 processes by memory | ||
- module: system | ||
enabled: true | ||
period: 1m | ||
metricsets: | ||
- filesystem | ||
- fsstat | ||
filters: | ||
- drop_event.when.regexp.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)' |
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 @@ | ||
#======================== Template options =============================== |