Skip to content

Instantly share code, notes, and snippets.

@dblessing
Created February 11, 2013 20:55
Show Gist options
  • Save dblessing/4757535 to your computer and use it in GitHub Desktop.
Save dblessing/4757535 to your computer and use it in GitHub Desktop.
"logstash" : {
"template" : "logstash-*",
"order" : 0,
"settings" : {
"index.query.default_field" : "@message",
"index.number_of_replicas" : "1",
"index.number_of_shards" : "5",
"index.store.compress.tv" : "true",
"index.store.compress.stored" : "true"
},
"mappings" : {
"_default_" : {
"_source" : {
"compress" : true
},
"dynamic_templates" : [ {
"string_template" : {
"mapping" : {
"index" : "not_analyzed",
"type" : "string"
},
"match_mapping_type" : "string",
"match" : "*"
}
} ],
"properties" : {
"@fields" : {
"dynamic" : true,
"path" : "full",
"type" : "object"
},
"@timestamp" : {
"index" : "not_analyzed",
"type" : "date"
},
"@message" : {
"index" : "analyzed",
"type" : "string"
},
"@source" : {
"index" : "not_analyzed",
"type" : "string"
},
"@type" : {
"index" : "not_analyzed",
"type" : "string"
},
"@tags" : {
"index" : "not_analyzed",
"type" : "string"
},
"@source_host" : {
"index" : "not_analyzed",
"type" : "string"
},
"@source_path" : {
"index" : "not_analyzed",
"type" : "string"
}
},
"_all" : {
"enabled" : false
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment