es sender support es7 and support set es id
@@ -118,6 +118,7 @@ const (
KeyElasticAlias = "elastic_keys"
KeyElasticIndexStrategy = "elastic_index_strategy"
KeyElasticTimezone = "elastic_time_zone"
+ KeyElasticIDField = "elastic_id_field"
KeyDefaultIndexStrategy = "default"
KeyYearIndexStrategy = "year"
@@ -130,6 +131,8 @@ const (
ElasticVersion5 = "5.x"
// ElasticVersion6 v6.x
ElasticVersion6 = "6.x"
+ // ElasticVersion7 v7.x
+ ElasticVersion7 = "7.x"
//timeZone
KeylocalTimezone = "Local"
