| 
									
										
										
										
											2017-10-13 18:58:14 +00:00
										 |  |  | { | 
					
						
							|  |  |  |   "template" : "logstash-*", | 
					
						
							|  |  |  |   "version" : 50001, | 
					
						
							|  |  |  |   "settings" : { | 
					
						
							|  |  |  |     "index.refresh_interval" : "5s", | 
					
						
							|  |  |  |     "index.number_of_shards" : "1", | 
					
						
							| 
									
										
										
										
											2019-05-31 15:34:29 +00:00
										 |  |  |     "index.number_of_replicas" : "0", | 
					
						
							|  |  |  |         "mapping" : { | 
					
						
							|  |  |  |           "total_fields" : { | 
					
						
							|  |  |  |             "limit" : "2000" | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         } | 
					
						
							| 
									
										
										
										
											2017-10-13 18:58:14 +00:00
										 |  |  |   }, | 
					
						
							|  |  |  |   "mappings" : { | 
					
						
							|  |  |  |     "_default_" : { | 
					
						
							|  |  |  |       "_all" : {"enabled" : true, "norms" : false}, | 
					
						
							|  |  |  |       "dynamic_templates" : [ { | 
					
						
							|  |  |  |         "message_field" : { | 
					
						
							|  |  |  |           "path_match" : "message", | 
					
						
							|  |  |  |           "match_mapping_type" : "string", | 
					
						
							|  |  |  |           "mapping" : { | 
					
						
							|  |  |  |             "type" : "text", | 
					
						
							|  |  |  |             "norms" : false | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, { | 
					
						
							|  |  |  |         "string_fields" : { | 
					
						
							|  |  |  |           "match" : "*", | 
					
						
							|  |  |  |           "match_mapping_type" : "string", | 
					
						
							|  |  |  |           "mapping" : { | 
					
						
							|  |  |  |             "type" : "text", "norms" : false, | 
					
						
							|  |  |  |             "fields" : { | 
					
						
							|  |  |  |               "keyword" : { "type": "keyword", "ignore_above": 256 } | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } ], | 
					
						
							|  |  |  |       "properties" : { | 
					
						
							|  |  |  |         "@timestamp": { "type": "date", "include_in_all": false }, | 
					
						
							|  |  |  |         "@version": { "type": "keyword", "include_in_all": false }, | 
					
						
							|  |  |  |         "geoip"  : { | 
					
						
							|  |  |  |           "dynamic": true, | 
					
						
							|  |  |  |           "properties" : { | 
					
						
							|  |  |  |             "ip": { "type": "ip" }, | 
					
						
							|  |  |  |             "location" : { "type" : "geo_point" }, | 
					
						
							|  |  |  |             "latitude" : { "type" : "half_float" }, | 
					
						
							|  |  |  |             "longitude" : { "type" : "half_float" } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |