-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ILM policy setting to data_stream manifest file (#90)
Add ILM policy setting to data_stream manifest file
- Loading branch information
1 parent
8bcecde
commit 765eb16
Showing
7 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
...al/validator/test/packages/good/data_stream/ilm_policy/elasticsearch/ilm/diagnostics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"policy": { | ||
"phases": { | ||
"hot": { | ||
"min_age": "0ms", | ||
"actions": { | ||
"rollover": { | ||
"max_size": "10gb", | ||
"max_age": "1d" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
code/go/internal/validator/test/packages/good/data_stream/ilm_policy/fields/some_fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
- name: source | ||
title: Source | ||
group: 2 | ||
type: group | ||
fields: | ||
- name: geo.city_name | ||
level: core | ||
type: keyword | ||
description: City name. | ||
ignore_above: 1024 | ||
- name: foobar | ||
type: text | ||
description: A field with a pattern defined | ||
pattern: '^[a-zA-Z]$' |
6 changes: 6 additions & 0 deletions
6
code/go/internal/validator/test/packages/good/data_stream/ilm_policy/manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
title: Hidden data stream and ilm policy overrride | ||
type: metrics | ||
ilm_policy: diagnostics | ||
elasticsearch: | ||
index_template.mappings: | ||
dynamic: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters