Skip to content

Commit e7cc0c1

Browse files
committed
Create elasticsearch-template-es8x.json
1 parent 1f1c257 commit e7cc0c1

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
}

0 commit comments

Comments
 (0)