From ab1180bf8e8b5c08600b1143aa13f6703d3427e3 Mon Sep 17 00:00:00 2001 From: Mahad Zaryab Date: Fri, 17 Jan 2025 18:22:15 -0500 Subject: [PATCH] Add Configuration Fields For Suffixes Signed-off-by: Mahad Zaryab --- pkg/es/config/config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/es/config/config.go b/pkg/es/config/config.go index d0ae9c6ad3d..6a40a016223 100644 --- a/pkg/es/config/config.go +++ b/pkg/es/config/config.go @@ -114,7 +114,9 @@ type Configuration struct { // UseReadWriteAliases, if set to true, will use read and write aliases for indices. // Use this option with Elasticsearch rollover API. It requires an external component // to create aliases before startup and then performing its management. - UseReadWriteAliases bool `mapstructure:"use_aliases"` + UseReadWriteAliases bool `mapstructure:"use_aliases"` + ReadAliasSuffix string `mapstructure:"-"` + WriteAliasSuffix string `mapstructure:"-"` // CreateIndexTemplates, if set to true, creates index templates at application startup. // This configuration should be set to false when templates are installed manually. CreateIndexTemplates bool `mapstructure:"create_mappings"`