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