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模式 }