summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/resources/config/consul-agent-config/log-elastic-search.json
blob: d14b16487fcc72104bfdce9d3e1fc65321f3d4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "service": {
    "name": "Health Check: Log - Elastic Search",
    "checks": [
      {
        "id": "log-elasticsearch-server",
        "name": "Log Elastic Search Health Check",
        "http": "http://elasticsearch.{{ .Values.nsPrefix }}:9200/_cluster/health?pretty",
        "method": "GET",
        "tls_skip_verify": true,
        "interval": "15s",
        "timeout": "1s"
      },
      {
        "id": "log-elasticsearch-tcp",
        "name": "Log Elastic Search TCP Health Check",
        "tcp": "elasticsearchtcp.{{ .Values.nsPrefix }}:9300",
        "interval": "15s",
        "timeout": "1s"
      }
    ]
  }
}