Skip to main content
Version: 10.3.1

Metricbeat

General configuration

The configuration file is metricbeat.yml.

Directory config

# general settings
path.home: {{ install_dir }}/metricbeat
path.config: {{ install_dir }}/metricbeat
path.data: {{ install_dir }}/metricbeat/data

Input config

metricbeat.config.modules:
path: {{ install_dir }}/metricbeat/modules.d/*.yml
reload.enabled: false

Fields config

fields:
ns: {{ server_group }} # rpa, bi, master, ocr, agent

Name config

# The name of the shipper that publishes the network data. It can be used to group
# all the transactions sent by a single shipper in the web interface.
name: "{{ hostname }}"

Output config

# output settings
output.logstash:
hosts: ["{{ int_hostname }}:{{ logstash_metrics_port }}"] # logstash_metric_port=4569 by default
ssl.certificate_authorities: ["{{ install_dir + 'metricbeat/ssl/ca.crt' }}"]

Input configuration

The configuration files have the following pattern: modules.d/*.yml.

System metrics

The configuration file is system.yml.

The module collects such system metrics as CPU/Memory/Disk/Processes.

- module: system
period: 30s
metricsets:
- cpu
- load
- memory
- network
- process
- process_summary
- diskio
processes: ['.*']
process.include_top_n:
by_cpu: 10 # include top {{ metricbeat_top_processes_cpu_count }} processes by CPU
by_memory: 10 # include top 10 {{ metricbeat_top_processes_memory_count }} processes by memory
- module: system
period: 30s
metricsets:
- filesystem
- fsstat
filesystem.ignore_types: [nfs, smbfs, autofs, tmpfs, devtmpfs]
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
- module: system
period: 15m
metricsets:
- uptime

Workfusion custom metrics

The configuration file is workfusion.yml.

The module collects directory metrics where the WorkFusion platform is installed.

- module: workfusion
metricsets: ["directory"]
enabled: true
period: 60s
hosts: ["localhost"]
path: {{ install_dir }}

- module: workfusion
metricsets: ["volume"]
enabled: true
period: 60s
hosts: ["localhost"]
path: {{ install_dir }}
alias: install