Merge "health check of log elastic search"
authorAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Tue, 6 Feb 2018 13:33:47 +0000 (13:33 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 6 Feb 2018 13:33:47 +0000 (13:33 +0000)
kubernetes/config/docker/init/src/config/consul/consul-agent-config/log-elastic-search.json [new file with mode: 0644]

diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/log-elastic-search.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/log-elastic-search.json
new file mode 100644 (file)
index 0000000..7785502
--- /dev/null
@@ -0,0 +1,23 @@
+{
+  "service": {
+    "name": "Health Check: Log - Elastic Search",
+    "checks": [
+      {
+        "id": "log-elasticsearch-server",
+        "name": "Log Elastic Search Health Check",
+        "http": "http://elasticsearch.onap-log: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.onap-log:9300",
+        "interval": "15s",
+        "timeout": "1s"
+      }
+    ]
+  }
+}