We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5580d2b commit 5ff09deCopy full SHA for 5ff09de
1 file changed
util/es_template.go
@@ -124,7 +124,7 @@ func SetDefaultIndexTemplate() error {
124
version := GetVersion()
125
if version == 7 {
126
defaultSetting := fmt.Sprintf(`{
127
- "index_patterns": ["-.*"],
+ "index_patterns": ["*"],
128
"settings": %s,
129
"mappings": %s
130
}`, settings, mappings)
@@ -137,7 +137,7 @@ func SetDefaultIndexTemplate() error {
137
138
if version == 6 {
139
140
141
142
"mappings": {
143
"_doc": %s
0 commit comments