-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetricbeat.yml
More file actions
67 lines (51 loc) · 1.27 KB
/
metricbeat.yml
File metadata and controls
67 lines (51 loc) · 1.27 KB
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
58
59
60
61
62
63
64
65
66
67
metricbeat.modules:
- module: docker
# metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"]
metricsets: ["container", "cpu", "diskio", "info", "memory", "network"]
hosts: ["unix:///var/run/docker.sock"]
enabled: true
period: 10s
- module: system
metricsets:
# CPU stats
- cpu
# System Load stats
- load
# Per CPU core stats
- core
# IO stats
- diskio
# Per filesystem stats
- filesystem
# File system summary stats
- fsstat
# Memory stats
- memory
# Network stats
- network
# Per process stats
- process
# Sockets (linux only)
#- socket
enabled: true
period: 10s
processes: ['.*']
cgroups: true # Remove for versions >= 5.3
# In order to capture short lived connections, use a shorter period for system/sockets.
- module: system
metricsets: [socket]
period: 500ms
socket.reverse_lookup.enabled: true
- module: system
period: 60s
metricsets: [filesystem, fsstat]
filters:
- drop_event.when.regexp.mount_point: '^(/hostfs)?/(sys|cgroup|proc|dev|etc|host|var/lib/docker)($|/)'
processors:
- add_cloud_metadata:
output.logstash:
# The Logstash hosts
hosts: ["logstash:5044"]
index: metrics
logging.level: info
logging.selectors: ["*"]