Skip to content

Instantly share code, notes, and snippets.

@rosscooperman
Created March 11, 2014 18:52
Show Gist options
  • Save rosscooperman/9492470 to your computer and use it in GitHub Desktop.
Save rosscooperman/9492470 to your computer and use it in GitHub Desktop.
{
"order" : 0,
"template" : "logstash-*",
"settings" : {
"number_of_shards" : 100,
"number_of_replicas" : 0,
"index.analysis.analyzer.default.stopwords" : "_none_",
"index.refresh_interval" : "5s",
"index.analysis.analyzer.default.type" : "standard"
},
"mappings" : {
"_default_" : {
"dynamic_templates" : [ {
"string_fields" : {
"mapping" : {
"type" : "multi_field",
"fields" : {
"raw" : {
"index" : "not_analyzed",
"ignore_above" : 256,
"type" : "string"
},
"{name}" : {
"index" : "analyzed",
"omit_norms" : true,
"type" : "string"
}
}
},
"match_mapping_type" : "string",
"match" : "*"
}
} ],
"properties" : {
"geoip" : {
"dynamic" : true,
"path" : "full",
"properties" : {
"location" : {
"type" : "geo_point"
}
},
"type" : "object"
},
"@version" : {
"index" : "not_analyzed",
"type" : "string"
}
},
"_all" : {
"enabled" : true
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment