From cda6a72c9e86bee2855a3ee187a3d8bbe159258d Mon Sep 17 00:00:00 2001 From: medcl Date: Wed, 8 Feb 2023 10:18:41 +0800 Subject: [PATCH] update default template --- config/system_config.tpl | 2 ++ initialization.dsl | 52 ---------------------------------------- 2 files changed, 2 insertions(+), 52 deletions(-) diff --git a/config/system_config.tpl b/config/system_config.tpl index 694ccdbc..770d27c0 100644 --- a/config/system_config.tpl +++ b/config/system_config.tpl @@ -7,6 +7,8 @@ elasticsearch: monitored: true reserved: true endpoint: $[[CLUSTER_ENDPINT]] + discovery: + enabled: false basic_auth: username: $[[CLUSTER_USER]] password: $[[CLUSTER_PASS]] diff --git a/initialization.dsl b/initialization.dsl index 866954f7..beafaed7 100644 --- a/initialization.dsl +++ b/initialization.dsl @@ -127,58 +127,6 @@ PUT .infini_metrics-00001 } ], "properties": { - "metadata": { - "properties": { - "category": { - "type": "keyword", - "ignore_above": 256 - }, - "datatype": { - "type": "keyword", - "ignore_above": 256 - }, - "labels": { - "properties": { - "cluster_id": { - "type": "keyword", - "ignore_above": 256 - }, - "index_id": { - "type": "keyword", - "ignore_above": 256 - }, - "index_name": { - "type": "keyword", - "ignore_above": 256 - }, - "index_uuid": { - "type": "keyword", - "ignore_above": 256 - }, - "ip": { - "type": "keyword", - "ignore_above": 256 - }, - "node_id": { - "type": "keyword", - "ignore_above": 256 - }, - "node_name": { - "type": "keyword", - "ignore_above": 256 - }, - "transport_address": { - "type": "keyword", - "ignore_above": 256 - } - } - }, - "name": { - "type": "keyword", - "ignore_above": 256 - } - } - }, "timestamp": { "type": "date" }