Skip to content

Commit ff919ec

Browse files
committed
feat: add baseline index template
1 parent 8861944 commit ff919ec

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"index_patterns": [
3+
"kubernetes_*"
4+
],
5+
"template": {
6+
"settings": {
7+
"index":{
8+
"mapping":{
9+
"total_fields": {
10+
"limit": "10000"
11+
}
12+
}
13+
}
14+
},
15+
"mappings": {
16+
"dynamic_templates": [
17+
{
18+
"labels": {
19+
"path_match": "description.*.metadata.labels",
20+
"mapping": {
21+
"enabled": false
22+
}
23+
}
24+
},
25+
{
26+
"annotations": {
27+
"path_match": "description.*.metadata.annotations",
28+
"mapping": {
29+
"enabled": false
30+
}
31+
}
32+
},
33+
{
34+
"managed_fields": {
35+
"path_match": "description.*.metadata.managedFields",
36+
"mapping": {
37+
"enabled": false
38+
}
39+
}
40+
}
41+
],
42+
"properties": {
43+
"description.MetaObject.labels": {
44+
"enabled": false
45+
},
46+
"description.MetaObject.annotations": {
47+
"enabled": false
48+
},
49+
"description.MetaObject.managedFields": {
50+
"enabled": false
51+
}
52+
}
53+
}
54+
},
55+
"priority": 15,
56+
"composed_of": [
57+
"resource_component_template"
58+
],
59+
"version": 1,
60+
"_meta": {
61+
"description": "Index template for kubernetes_* indices",
62+
}
63+
}

0 commit comments

Comments
 (0)