mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -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-*",
|
"template" : "logstash-*",
|
||||||
"settings" : {
|
"settings" : {
|
||||||
"index.refresh_interval" : "5s",
|
"index.refresh_interval" : "5s"
|
||||||
"analysis" : {
|
|
||||||
"analyzer" : {
|
|
||||||
"default" : {
|
|
||||||
"type" : "standard",
|
|
||||||
"stopwords" : "_none_"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"mappings" : {
|
"mappings" : {
|
||||||
"_default_" : {
|
"_default_" : {
|
||||||
|
@ -19,9 +11,8 @@
|
||||||
"match" : "*",
|
"match" : "*",
|
||||||
"match_mapping_type" : "string",
|
"match_mapping_type" : "string",
|
||||||
"mapping" : {
|
"mapping" : {
|
||||||
"type" : "multi_field",
|
"type" : "string", "index" : "analyzed", "omit_norms" : true,
|
||||||
"fields" : {
|
"fields" : {
|
||||||
"{name}" : {"type": "string", "index" : "analyzed", "omit_norms" : true },
|
|
||||||
"raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
|
"raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,4 +32,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue