mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Merge pull request #1094 from untergeek/es-1.0-template
ES 1.0 template
This commit is contained in:
commit
f7519373fc
1 changed files with 2 additions and 12 deletions
|
@ -1,15 +1,7 @@
|
|||
{
|
||||
"template" : "logstash-*",
|
||||
"settings" : {
|
||||
"index.refresh_interval" : "5s",
|
||||
"analysis" : {
|
||||
"analyzer" : {
|
||||
"default" : {
|
||||
"type" : "standard",
|
||||
"stopwords" : "_none_"
|
||||
}
|
||||
}
|
||||
}
|
||||
"index.refresh_interval" : "5s"
|
||||
},
|
||||
"mappings" : {
|
||||
"_default_" : {
|
||||
|
@ -19,9 +11,8 @@
|
|||
"match" : "*",
|
||||
"match_mapping_type" : "string",
|
||||
"mapping" : {
|
||||
"type" : "multi_field",
|
||||
"type" : "string", "index" : "analyzed", "omit_norms" : true,
|
||||
"fields" : {
|
||||
"{name}" : {"type": "string", "index" : "analyzed", "omit_norms" : true },
|
||||
"raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
|
||||
}
|
||||
}
|
||||
|
@ -41,4 +32,3 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue