35 lines
623 B
YAML
35 lines
623 B
YAML
name: heartbeat
|
|
|
|
heartbeat.monitors:
|
|
- type: http
|
|
name: elasticsearch
|
|
schedule: '@every 5s'
|
|
urls:
|
|
- http://elasticsearch:9200
|
|
username: heartbeat_internal
|
|
password: ${HEARTBEAT_INTERNAL_PASSWORD}
|
|
|
|
- type: icmp
|
|
name: elasticsearch
|
|
schedule: '@every 5s'
|
|
hosts:
|
|
- elasticsearch
|
|
|
|
processors:
|
|
- add_cloud_metadata: ~
|
|
|
|
monitoring:
|
|
enabled: true
|
|
elasticsearch:
|
|
username: beats_system
|
|
password: ${BEATS_SYSTEM_PASSWORD}
|
|
|
|
output.elasticsearch:
|
|
hosts: [ http://elasticsearch:9200 ]
|
|
username: heartbeat_internal
|
|
password: ${HEARTBEAT_INTERNAL_PASSWORD}
|
|
|
|
http:
|
|
enabled: true
|
|
host: 0.0.0.0
|