Use index_patterns in templates

And skip a REST test that won't pass.

Original commit: elastic/x-pack-elasticsearch@e297add6c1
This commit is contained in:
Nik Everett 2016-11-10 21:42:59 -05:00
parent 7da624739d
commit 700467c3a7
12 changed files with 14 additions and 13 deletions

View File

@ -1,5 +1,5 @@
{
"template": ".monitoring-data-${monitoring.template.version}",
"index_patterns": ".monitoring-data-${monitoring.template.version}",
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,

View File

@ -1,5 +1,5 @@
{
"template": ".monitoring-es-${monitoring.template.version}-*",
"index_patterns": ".monitoring-es-${monitoring.template.version}-*",
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,

View File

@ -1,5 +1,5 @@
{
"template": ".monitoring-kibana-${monitoring.template.version}-*",
"index_patterns": ".monitoring-kibana-${monitoring.template.version}-*",
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,

View File

@ -1,5 +1,5 @@
{
"template" : ".security",
"index_patterns" : ".security",
"order" : 1000,
"settings" : {
"number_of_shards" : 1,

View File

@ -1,5 +1,5 @@
{
"template": ".security_audit_log*",
"index_patterns": ".security_audit_log*",
"order": 2147483647,
"settings": {
"index.mapper.dynamic" : false

View File

@ -1,5 +1,5 @@
{
"template": ".triggered_watches",
"index_patterns": ".triggered_watches",
"order": 2147483647,
"settings": {
"index.number_of_shards": 1,

View File

@ -1,5 +1,5 @@
{
"template": ".watcher-history-${xpack.watcher.template.version}*",
"index_patterns": ".watcher-history-${xpack.watcher.template.version}*",
"order": 2147483647,
"settings": {
"xpack.watcher.template.version": "${xpack.watcher.template.version}",

View File

@ -1,5 +1,5 @@
{
"template": ".watches",
"index_patterns": ".watches",
"order": 2147483647,
"settings": {
"index.number_of_shards": 1,

View File

@ -1,5 +1,5 @@
{
"template" : ".security",
"index_patterns" : ".security",
"order" : 1000,
"settings" : {
"number_of_shards" : 1,

View File

@ -1,5 +1,5 @@
{
"template": ".monitoring-data-${monitoring.template.version}",
"index_patterns": ".monitoring-data-${monitoring.template.version}",
"mappings": {
"type_1": {
"_meta": {
@ -7,4 +7,4 @@
}
}
}
}
}

View File

@ -1,5 +1,5 @@
{
"template" : ".security",
"index_patterns" : ".security",
"order" : 1000,
"settings" : {
"number_of_shards" : 1,

View File

@ -11,7 +11,8 @@ integTest {
'index/10_with_id/Index with ID',
'indices.get_alias/10_basic/Get alias against closed indices',
'cat.templates/10_basic/No templates',
'cat.templates/10_basic/Sort templates'
'cat.templates/10_basic/Sort templates',
'cat.templates/10_basic/Multiple template',
].join(',')
cluster {