From 525429bbb0dea272cd6f62223c5da2c32af6afe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Tue, 9 Aug 2022 18:12:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BF=E9=97=AE=E6=97=A5=E5=BF=97ES=E5=AD=98?= =?UTF-8?q?=E5=82=A8=E5=A2=9E=E5=8A=A0Data=20Stream=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/serverconfigs/access_log_storage_es.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkg/serverconfigs/access_log_storage_es.go b/pkg/serverconfigs/access_log_storage_es.go index ce55aaa..1a9127b 100644 --- a/pkg/serverconfigs/access_log_storage_es.go +++ b/pkg/serverconfigs/access_log_storage_es.go @@ -4,9 +4,10 @@ package serverconfigs // AccessLogESStorageConfig ElasticSearch存储策略 type AccessLogESStorageConfig struct { - Endpoint string `yaml:"endpoint" json:"endpoint"` - Index string `yaml:"index" json:"index"` - MappingType string `yaml:"mappingType" json:"mappingType"` - Username string `yaml:"username" json:"username"` - Password string `yaml:"password" json:"password"` + Endpoint string `yaml:"endpoint" json:"endpoint"` + Index string `yaml:"index" json:"index"` + MappingType string `yaml:"mappingType" json:"mappingType"` + Username string `yaml:"username" json:"username"` + Password string `yaml:"password" json:"password"` + IsDataStream bool `yaml:"isDataStream" json:"isDataStream"` // 是否为Data Stream模式 }