Skip to content

Commit

Permalink
Improved filebeat template
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin committed Oct 20, 2015
1 parent e473025 commit 65e83f7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions etc/filebeat.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,34 @@
"enabled": false
}
},
"dynamic_templates": [
{
"template1": {
"mapping": {
"doc_values": true,
"ignore_above": 1024,
"index": "not_analyzed",
"type": "{dynamic_type}"
},
"match": "*"
}
}
],
"properties": {
"timestamp": {
"type": "date"
},
"message": {
"type": "string",
"index": "analyzed"
},
"line": {
"type": "integer",
"doc_values": "true"
},
"offset": {
"type": "integer",
"doc_values": "true"
}
}
}
Expand Down

0 comments on commit 65e83f7

Please sign in to comment.