Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "template" : "logstash-*",
- "aliases" : {
- "alias1" : {},
- "dcachebilling" : {
- "filter" : {
- "term" : {
- "type" : "dcache_billing"
- }
- }
- }
- },
- "settings" : {
- "index.refresh_interval" : "5s",
- "number_of_shards" : 4
- },
- "mappings" : {
- "_default_" : {
- "_all" : {"enabled" : true, "omit_norms" : true, "doc_value" : true},
- "dynamic_templates" : [ {
- "message_field" : {
- "match" : "message",
- "match_mapping_type" : "string",
- "mapping" : {
- "type" : "string", "index" : "analyzed", "omit_norms" : true, "doc_value" : true
- }
- }
- }, {
- "string_fields" : {
- "match" : "*",
- "match_mapping_type" : "string",
- "mapping" : {
- "type" : "string", "index" : "analyzed", "omit_norms" : true, "doc_value" : true,
- "fields" : {
- "raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256, "doc_value" : true}
- }
- }
- }
- } ],
- "properties" : {
- "@version": { "type": "string", "index": "not_analyzed" },
- "type": { "type": "string", "index": "not_analyzed" },
- "geoip" : {
- "type" : "object",
- "dynamic": true,
- "path": "full",
- "properties" : {
- "location" : { "type" : "geo_point" }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement