File tree Expand file tree Collapse file tree 4 files changed +10616
-0
lines changed
lib/logstash/outputs/opensearch/templates Expand file tree Collapse file tree 4 files changed +10616
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "index_patterns" : " logstash-*" ,
3+ "version" : 60001 ,
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+ }
Original file line number Diff line number Diff line change 1+ {
2+ "index_patterns" : " logstash-*" ,
3+ "version" : 60001 ,
4+ "priority" : 10 ,
5+ "template" : {
6+ "settings" : {
7+ "index.refresh_interval" : " 5s" ,
8+ "number_of_shards" : 1
9+ },
10+ "mappings" : {
11+ "dynamic_templates" : [
12+ {
13+ "message_field" : {
14+ "path_match" : " message" ,
15+ "match_mapping_type" : " string" ,
16+ "mapping" : {
17+ "type" : " text" ,
18+ "norms" : false
19+ }
20+ }
21+ },
22+ {
23+ "string_fields" : {
24+ "match" : " *" ,
25+ "match_mapping_type" : " string" ,
26+ "mapping" : {
27+ "type" : " text" ,
28+ "norms" : false ,
29+ "fields" : {
30+ "keyword" : {
31+ "type" : " keyword" ,
32+ "ignore_above" : 256
33+ }
34+ }
35+ }
36+ }
37+ }
38+ ],
39+ "properties" : {
40+ "@timestamp" : {
41+ "type" : " date"
42+ },
43+ "@version" : {
44+ "type" : " keyword"
45+ },
46+ "geoip" : {
47+ "dynamic" : true ,
48+ "properties" : {
49+ "ip" : {
50+ "type" : " ip"
51+ },
52+ "location" : {
53+ "type" : " geo_point"
54+ },
55+ "latitude" : {
56+ "type" : " half_float"
57+ },
58+ "longitude" : {
59+ "type" : " half_float"
60+ }
61+ }
62+ }
63+ }
64+ }
65+ }
66+ }
You can’t perform that action at this time.
0 commit comments