You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.8 KiB
Django/Jinja
60 lines
1.8 KiB
Django/Jinja
# https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-reference-yml.html
|
|
|
|
metricbeat.modules:
|
|
- module: docker
|
|
metricsets:
|
|
- "container"
|
|
- "cpu"
|
|
- "diskio"
|
|
- "event"
|
|
- "healthcheck"
|
|
- "info"
|
|
#- "image"
|
|
- "memory"
|
|
- "network"
|
|
#- "network_summary"
|
|
hosts: ["unix:///var/run/docker.sock"]
|
|
period: 10s
|
|
enabled: true
|
|
|
|
- module: system
|
|
metricsets:
|
|
- cpu # CPU usage
|
|
- load # CPU load averages
|
|
- memory # Memory usage
|
|
- network # Network IO
|
|
- process # Per process metrics
|
|
- process_summary # Process summary
|
|
- uptime # System Uptime
|
|
- socket_summary # Socket summary
|
|
#- core # Per CPU core usage
|
|
#- diskio # Disk IO
|
|
#- filesystem # File system usage for each mountpoint
|
|
#- fsstat # File system summary metrics
|
|
#- raid # Raid
|
|
#- socket # Sockets and connection info (linux only)
|
|
#- service # systemd service information
|
|
processes: ['.*']
|
|
period: 10s
|
|
enabled: true
|
|
|
|
#setup:
|
|
# dashboards.enabled: true
|
|
# kibana:
|
|
# host: "{{ stage }}-elastic-stack-kibana-01-kibana.{{ domain }}:443"
|
|
# protocol: "https"
|
|
# username: "elastic_admin_username"
|
|
# password: "elastic_admin_password"
|
|
|
|
fields:
|
|
stage: {{ stage }}
|
|
hostname: {{ inventory_hostname }}
|
|
|
|
output.logstash:
|
|
hosts: ["{{ shared_service_elastic_stack_logstash_01_hostname }}:5044"]
|
|
ssl:
|
|
certificate_authorities:
|
|
- /usr/share/metricbeat/config/certificates/ca/ca.crt
|
|
certificate: /usr/share/metricbeat/config/certificates/{{ filebeat_certificate }}/{{ filebeat_certificate }}.crt
|
|
key: /usr/share/metricbeat/config/certificates/{{ filebeat_certificate }}/{{ filebeat_certificate }}.key
|