-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#982: adding index templates for cslc, k_cslc, and cslc_compressed in…
…dices
- Loading branch information
1 parent
7b8d6f4
commit 8ae0602
Showing
11 changed files
with
112 additions
and
11 deletions.
There are no files selected for viewing
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
25 changes: 25 additions & 0 deletions
25
conf/sds/files/elasticsearch/es_ilm_policy_grq_c_cslc.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,25 @@ | ||
{ | ||
"policy": { | ||
"phases": { | ||
"hot": { | ||
"min_age": "0ms", | ||
"actions": { | ||
"set_priority": { | ||
"priority": 100 | ||
} | ||
} | ||
}, | ||
"warm": { | ||
"min_age": "32d", | ||
"actions": { | ||
"migrate": { | ||
"enabled": false | ||
}, | ||
"set_priority": { | ||
"priority": 50 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
conf/sds/files/elasticsearch/grq_es_templates/es_template_cslc_catalog.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,28 @@ | ||
{ | ||
"index_patterns": ["cslc_catalog", "cslc_catalog-*"], | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"sort.field": "creation_timestamp", | ||
"sort.order": "asc" | ||
}, | ||
"index.lifecycle.name": "opera_grq_ilm_policy", | ||
"number_of_shards": 8 | ||
}, | ||
"mappings": { | ||
"properties": { | ||
"granule_id" : {"type": "keyword"}, | ||
"revision_id" : {"type": "integer"}, | ||
"s3_url" : {"type": "keyword"}, | ||
"https_url" : {"type": "keyword"}, | ||
"creation_timestamp": {"type": "date" }, | ||
"download_datetime" : {"type": "date" }, | ||
"downloaded" : {"type": "boolean"} | ||
} | ||
}, | ||
"aliases": { | ||
"catalog_alias": {}, | ||
"cslc_catalog_alias": {} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
conf/sds/files/elasticsearch/grq_es_templates/es_template_cslc_compressed_product.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,13 @@ | ||
{ | ||
"index_patterns": ["grq_1_l2_cslc_s1_compressed", "grq_1_l2_cslc_s1_compressed-*"], | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"sort.field": "creation_timestamp", | ||
"sort.order": "asc" | ||
}, | ||
"index.lifecycle.name": "opera_grq_ilm_c_cslc_policy", | ||
"number_of_shards": 8 | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions
28
conf/sds/files/elasticsearch/grq_es_templates/es_template_k_cslc_catalog.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,28 @@ | ||
{ | ||
"index_patterns": ["k_cslc_catalog", "k_cslc_catalog-*"], | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"sort.field": "creation_timestamp", | ||
"sort.order": "asc" | ||
}, | ||
"index.lifecycle.name": "opera_grq_ilm_policy", | ||
"number_of_shards": 8 | ||
}, | ||
"mappings": { | ||
"properties": { | ||
"granule_id" : {"type": "keyword"}, | ||
"revision_id" : {"type": "integer"}, | ||
"s3_url" : {"type": "keyword"}, | ||
"https_url" : {"type": "keyword"}, | ||
"creation_timestamp": {"type": "date" }, | ||
"download_datetime" : {"type": "date" }, | ||
"downloaded" : {"type": "boolean"} | ||
} | ||
}, | ||
"aliases": { | ||
"catalog_alias": {}, | ||
"k_cslc_catalog_alias": {} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.