Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Commit

Permalink
Modification of twitterbeat.template.json (#4)
Browse files Browse the repository at this point in the history
* Modification of twitterbeat.template.json

* Update template

I have modified a little the template.
  • Loading branch information
rdrgporto authored and buehler committed May 9, 2016
1 parent 97c170b commit 158470a
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions etc/twitterbeat.template.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
{
"mappings": {
"_default_": {
"_all": {
"enabled": true,
"norms": {
"enabled": false
}
},
"dynamic_templates": [
{
"all": {
"mapping": {
"doc_values": true,
"ignore_above": 1024,
"index": "not_analyzed",
"type": "{dynamic_type}"
},
"match": "*"
}
}
],
"mappings": {
"tweet": {
"_all": {
"enabled": false
},
"dynamic_templates" : [ {
"message_field" : {
"match" : "message",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string", "index" : "analyzed", "omit_norms" : true
}
}
}, {
"string_fields" : {
"match" : "*",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string", "index" : "analyzed", "omit_norms" : true,
"fields" : {
"raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
}
}
}
} ],
"properties": {
"@timestamp": {
"type": "date"
Expand Down Expand Up @@ -93,4 +97,4 @@
}
},
"template": "twitterbeat-*"
}
}

0 comments on commit 158470a

Please sign in to comment.