forked from julienadam/Setup_ELK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metricbeat_monitoring.yml
57 lines (51 loc) · 1.11 KB
/
metricbeat_monitoring.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
metricbeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
metricbeat.modules:
- module: elasticsearch
xpack.enabled: true
period: 10s
hosts: ["https://es01:9200", "https://es02:9200", "https://es03:9200"]
username: "elastic"
password: ${ELASTIC_PASSWORD}
ssl:
enabled: true
verification_mode: none
- module: kibana
metricsets:
- stats
period: 10s
hosts: "https://kibana:5601"
username: "elastic"
password: ${ELASTIC_PASSWORD}
xpack.enabled: true
ssl:
enabled: true
verification_mode: none
- module: docker
metricsets:
- "container"
- "cpu"
- "diskio"
- "healthcheck"
- "info"
#- "image"
- "memory"
- "network"
hosts: ["unix:///var/run/docker.sock"]
period: 10s
enabled: true
processors:
- add_host_metadata: ~
- add_docker_metadata: ~
setup.kibana:
host: "https://kibmonitoring01:5601"
username: "elastic"
password: ${ELASTIC_PASSWORD}
output.elasticsearch:
hosts: ["https://esmonitoring01:9200"]
username: "elastic"
password: ${ELASTIC_PASSWORD}
ssl:
enabled: true
verification_mode: none