Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

for ES v6 use "index_patterns" instead of "template" field #207

Merged
merged 1 commit into from Dec 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private static object GetTemplateESv6(
{
return new
{
template = templateMatchString,
index_patterns = new[] { templateMatchString },
settings = settings,
mappings = new
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template": "logstash-*",
"index_patterns": [ "logstash-*" ],
"settings": {
"index.refresh_interval": "5s"
},
Expand Down