Initial commit (code only without large binaries)
This commit is contained in:
13
EdgeCommon/pkg/serverconfigs/access_log_storage_es.go
Normal file
13
EdgeCommon/pkg/serverconfigs/access_log_storage_es.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
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"`
|
||||
IsDataStream bool `yaml:"isDataStream" json:"isDataStream"` // 是否为Data Stream模式
|
||||
}
|
||||
Reference in New Issue
Block a user