Skip to content

Instantly share code, notes, and snippets.

@boeboe
Created July 6, 2016 07:10
Show Gist options
  • Save boeboe/a0e6402700b09a9d5312cd0f94a8850c to your computer and use it in GitHub Desktop.
Save boeboe/a0e6402700b09a9d5312cd0f94a8850c to your computer and use it in GitHub Desktop.
Default filebeat template for elastic search Raw
"filebeat" : {
"order" : 0,
"template" : "filebeat-*",
"settings" : {
"index" : {
"refresh_interval" : "5s"
}
},
"mappings" : {
"_default_" : {
"dynamic_templates" : [ {
"template1" : {
"mapping" : {
"ignore_above" : 1024,
"index" : "not_analyzed",
"type" : "{dynamic_type}",
"doc_values" : true
},
"match" : "*"
}
} ],
"_all" : {
"norms" : {
"enabled" : false
},
"enabled" : true
},
"properties" : {
"@timestamp" : {
"type" : "date"
},
"offset" : {
"type" : "long",
"doc_values" : "true"
},
"message" : {
"index" : "analyzed",
"type" : "string"
}
}
}
},
"aliases" : { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment