Merge changes I95651dbd,If52f42c5
[osm/devops.git] / installers / docker / osm_elk / metricbeat.yml
1 metricbeat.modules:
2 - module: docker
3   metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"]
4   hosts: ["unix:///var/run/docker.sock"]
5   period: 30s
6   enabled: true
7 - module: mongodb
8   hosts: ["mongo"]
9   period: 30s
10   enabled: true
11 - module: mysql
12   metricsets: ["status"]
13   hosts: ["tcp(ro-db:3306)/"]
14   username: root
15   password: "YjkzMDkxMzJhNGJiNzA0YjFiZTI5MzYw"
16   period: 30s
17   enabled: true
18 - module: kafka
19   metricsets: ["consumergroup", "partition"]
20   period: 30s
21   hosts: ["kafka:9092"]
22   enabled: true
23 - module: system
24   enabled: true
25   period: 30s
26   metricsets:
27     - cpu             # CPU usage
28     - load            # CPU load averages
29     - memory          # Memory usage
30     - network         # Network IO
31     - process         # Per process metrics
32     - process_summary # Process summary
33     - uptime          # System Uptime
34     #- core           # Per CPU core usage
35     - diskio         # Disk IO
36     - filesystem     # File system usage for each mountpoint
37     - fsstat         # File system summary metrics
38     #- raid           # Raid
39     #- socket         # Sockets and connection info (linux only)
40   processes: ['.*']
41   cpu.metrics:  ["percentages"]  # The other available options are normalized_percentages and ticks.
42   core.metrics: ["percentages"]  # The other available option is ticks.
43
44 setup.dashboards.enabled: false
45
46 setup.kibana.host: "kibana"
47 setup.kibana.protocol: "http"
48 setup.kibana.username: ""
49 setup.kibana.password: ""
50
51 fields:
52   env: dev
53
54 output.elasticsearch:
55   hosts: ["elasticsearch:9200"]
56
57 logging.level: info
58 logging.to_files: true
59 logging.files:
60   path: /var/log/metricbeat
61   name: metricbeat
62   keepfiles: 7
63   permissions: 0644