File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
lib/logstash/outputs/elasticsearch Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "index_patterns" : " logstash-*" ,
3+ "version" : 80001 ,
4+ "settings" : {
5+ "index.refresh_interval" : " 5s" ,
6+ "number_of_shards" : 1
7+ },
8+ "mappings" : {
9+ "dynamic_templates" : [ {
10+ "message_field" : {
11+ "path_match" : " message" ,
12+ "match_mapping_type" : " string" ,
13+ "mapping" : {
14+ "type" : " text" ,
15+ "norms" : false
16+ }
17+ }
18+ }, {
19+ "string_fields" : {
20+ "match" : " *" ,
21+ "match_mapping_type" : " string" ,
22+ "mapping" : {
23+ "type" : " text" , "norms" : false ,
24+ "fields" : {
25+ "keyword" : { "type" : " keyword" , "ignore_above" : 256 }
26+ }
27+ }
28+ }
29+ } ],
30+ "properties" : {
31+ "@timestamp" : { "type" : " date" },
32+ "@version" : { "type" : " keyword" },
33+ "geoip" : {
34+ "dynamic" : true ,
35+ "properties" : {
36+ "ip" : { "type" : " ip" },
37+ "location" : { "type" : " geo_point" },
38+ "latitude" : { "type" : " half_float" },
39+ "longitude" : { "type" : " half_float" }
40+ }
41+ }
42+ }
43+ }
44+ }
You can’t perform that action at this time.
0 commit comments