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

Commit

Permalink
for ES v6 use "index_patterns" instead of "template" field (#207)
Browse files Browse the repository at this point in the history
fixes #206
  • Loading branch information
CaringDev authored and mivano committed Dec 27, 2018
1 parent c64267c commit ae63137
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit ae63137

Please sign in to comment.