-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathprometheusbeat.yml
27 lines (27 loc) · 1.01 KB
/
prometheusbeat.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
# see https://github.com/infonova/prometheusbeat/blob/master/prometheusbeat.reference.yml
# see https://elasticsearch.example.com/_cat/health?v
# see https://elasticsearch.example.com/_cat/indices?v
# see https://elasticsearch.example.com/_cat/templates?v
# see https://elasticsearch.example.com/_template/prometheusbeat
# see https://elasticsearch.example.com/prometheusbeat-*/_search
# see https://elasticsearch.example.com/prometheusbeat-*/_search?q=labels.name:up
prometheusbeat:
listen: 127.0.0.1:9201
context: /prometheusbeat
output.elasticsearch:
enabled: true
hosts:
- https://elasticsearch.example.com:443
ssl.enabled: true
ssl.certificate_authorities:
- c:/prometheusbeat/tls/prometheus-example-ca-crt.pem
setup.template.name: prometheusbeat
setup.template.pattern: prometheusbeat-*
output.elasticsearch.index: prometheusbeat-%{+yyyy.MM.dd}
logging.level: info
logging.metrics.enabled: false
logging.to_files: true
logging.files:
name: prometheusbeat.log
rotateeverybytes: 10485760 # 10MB
keepfiles: 7