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