我在 unix 服务器上安装了 metricbeat,它的映射生成了大量的字段。如果有办法禁用它们?我想要一个默认索引来仅为 unix“系统”模块映射和 Windows“windows”模块映射创建映射。
在我的 yml 中,我只显示这样的内容
metricbeat.modules:
- module: system
period: 1m
metricsets:
- cpu
- load
- memory
#- network
- process
- process_summary
#- core
#- diskio
#- socket
processes: ['.*']
- module: system
period: 10m
metricsets:
- filesystem
- fsstat
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
- module: system
period: 15m
metricsets:
- uptime
谢谢。