This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
shoarma/ansible/roles/monitoring/elasticsearch.yml.j2

20 lines
413 B
Text
Raw Normal View History

2023-08-02 16:07:24 +00:00
# vi: ft=yaml
2023-08-01 14:24:00 +00:00
apiVersion: 1
datasources:
2023-08-07 20:46:53 +00:00
- name: cpu
2023-08-01 14:24:00 +00:00
type: elasticsearch
access: proxy
2023-08-08 10:52:47 +00:00
url: http://maestro.dmz:{{ elasticsearch_port }}
2023-08-01 14:24:00 +00:00
jsonData:
index: 'fluentd.cpu-*'
2023-08-01 14:24:00 +00:00
timeField: '@timestamp'
2023-08-07 20:46:53 +00:00
- name: memory
type: elasticsearch
access: proxy
2023-08-08 10:52:47 +00:00
url: http://maestro.dmz:{{ elasticsearch_port }}
2023-08-07 20:46:53 +00:00
jsonData:
index: 'fluentd.memory-*'
2023-08-07 20:46:53 +00:00
timeField: '@timestamp'