Skip to content

Commit 6003841

Browse files
author
Mathieu Martin
committed
Initial implementation, generating only the component templates
1 parent 9c342f9 commit 6003841

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+7878
-10
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"template": {
3+
"mappings": {
4+
"properties": {
5+
"agent": {
6+
"properties": {
7+
"build": {
8+
"properties": {
9+
"original": {
10+
"type": "wildcard"
11+
}
12+
}
13+
},
14+
"ephemeral_id": {
15+
"ignore_above": 1024,
16+
"type": "keyword"
17+
},
18+
"id": {
19+
"ignore_above": 1024,
20+
"type": "keyword"
21+
},
22+
"name": {
23+
"ignore_above": 1024,
24+
"type": "keyword"
25+
},
26+
"type": {
27+
"ignore_above": 1024,
28+
"type": "keyword"
29+
},
30+
"version": {
31+
"ignore_above": 1024,
32+
"type": "keyword"
33+
}
34+
}
35+
}
36+
}
37+
}
38+
}
39+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"template": {
3+
"mappings": {
4+
"properties": {
5+
"as": {
6+
"properties": {
7+
"number": {
8+
"type": "long"
9+
},
10+
"organization": {
11+
"properties": {
12+
"name": {
13+
"fields": {
14+
"text": {
15+
"norms": false,
16+
"type": "text"
17+
}
18+
},
19+
"type": "wildcard"
20+
}
21+
}
22+
}
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"template": {
3+
"mappings": {
4+
"properties": {
5+
"@timestamp": {
6+
"type": "date"
7+
},
8+
"labels": {
9+
"type": "object"
10+
},
11+
"message": {
12+
"norms": false,
13+
"type": "text"
14+
},
15+
"tags": {
16+
"ignore_above": 1024,
17+
"type": "keyword"
18+
}
19+
}
20+
}
21+
}
22+
}
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
{
2+
"template": {
3+
"mappings": {
4+
"properties": {
5+
"client": {
6+
"properties": {
7+
"address": {
8+
"ignore_above": 1024,
9+
"type": "keyword"
10+
},
11+
"as": {
12+
"properties": {
13+
"number": {
14+
"type": "long"
15+
},
16+
"organization": {
17+
"properties": {
18+
"name": {
19+
"fields": {
20+
"text": {
21+
"norms": false,
22+
"type": "text"
23+
}
24+
},
25+
"type": "wildcard"
26+
}
27+
}
28+
}
29+
}
30+
},
31+
"bytes": {
32+
"type": "long"
33+
},
34+
"domain": {
35+
"type": "wildcard"
36+
},
37+
"geo": {
38+
"properties": {
39+
"city_name": {
40+
"ignore_above": 1024,
41+
"type": "keyword"
42+
},
43+
"continent_name": {
44+
"ignore_above": 1024,
45+
"type": "keyword"
46+
},
47+
"country_iso_code": {
48+
"ignore_above": 1024,
49+
"type": "keyword"
50+
},
51+
"country_name": {
52+
"ignore_above": 1024,
53+
"type": "keyword"
54+
},
55+
"location": {
56+
"type": "geo_point"
57+
},
58+
"name": {
59+
"type": "wildcard"
60+
},
61+
"region_iso_code": {
62+
"ignore_above": 1024,
63+
"type": "keyword"
64+
},
65+
"region_name": {
66+
"ignore_above": 1024,
67+
"type": "keyword"
68+
}
69+
}
70+
},
71+
"ip": {
72+
"type": "ip"
73+
},
74+
"mac": {
75+
"ignore_above": 1024,
76+
"type": "keyword"
77+
},
78+
"nat": {
79+
"properties": {
80+
"ip": {
81+
"type": "ip"
82+
},
83+
"port": {
84+
"type": "long"
85+
}
86+
}
87+
},
88+
"packets": {
89+
"type": "long"
90+
},
91+
"port": {
92+
"type": "long"
93+
},
94+
"registered_domain": {
95+
"type": "wildcard"
96+
},
97+
"subdomain": {
98+
"ignore_above": 1024,
99+
"type": "keyword"
100+
},
101+
"top_level_domain": {
102+
"ignore_above": 1024,
103+
"type": "keyword"
104+
},
105+
"user": {
106+
"properties": {
107+
"domain": {
108+
"ignore_above": 1024,
109+
"type": "keyword"
110+
},
111+
"email": {
112+
"type": "wildcard"
113+
},
114+
"full_name": {
115+
"fields": {
116+
"text": {
117+
"norms": false,
118+
"type": "text"
119+
}
120+
},
121+
"type": "wildcard"
122+
},
123+
"group": {
124+
"properties": {
125+
"domain": {
126+
"ignore_above": 1024,
127+
"type": "keyword"
128+
},
129+
"id": {
130+
"ignore_above": 1024,
131+
"type": "keyword"
132+
},
133+
"name": {
134+
"ignore_above": 1024,
135+
"type": "keyword"
136+
}
137+
}
138+
},
139+
"hash": {
140+
"ignore_above": 1024,
141+
"type": "keyword"
142+
},
143+
"id": {
144+
"ignore_above": 1024,
145+
"type": "keyword"
146+
},
147+
"name": {
148+
"fields": {
149+
"text": {
150+
"norms": false,
151+
"type": "text"
152+
}
153+
},
154+
"type": "wildcard"
155+
},
156+
"roles": {
157+
"ignore_above": 1024,
158+
"type": "keyword"
159+
}
160+
}
161+
}
162+
}
163+
}
164+
}
165+
}
166+
}
167+
}
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"template": {
3+
"mappings": {
4+
"properties": {
5+
"cloud": {
6+
"properties": {
7+
"account": {
8+
"properties": {
9+
"id": {
10+
"ignore_above": 1024,
11+
"type": "keyword"
12+
},
13+
"name": {
14+
"ignore_above": 1024,
15+
"type": "keyword"
16+
}
17+
}
18+
},
19+
"availability_zone": {
20+
"ignore_above": 1024,
21+
"type": "keyword"
22+
},
23+
"instance": {
24+
"properties": {
25+
"id": {
26+
"ignore_above": 1024,
27+
"type": "keyword"
28+
},
29+
"name": {
30+
"ignore_above": 1024,
31+
"type": "keyword"
32+
}
33+
}
34+
},
35+
"machine": {
36+
"properties": {
37+
"type": {
38+
"ignore_above": 1024,
39+
"type": "keyword"
40+
}
41+
}
42+
},
43+
"project": {
44+
"properties": {
45+
"id": {
46+
"ignore_above": 1024,
47+
"type": "keyword"
48+
},
49+
"name": {
50+
"ignore_above": 1024,
51+
"type": "keyword"
52+
}
53+
}
54+
},
55+
"provider": {
56+
"ignore_above": 1024,
57+
"type": "keyword"
58+
},
59+
"region": {
60+
"ignore_above": 1024,
61+
"type": "keyword"
62+
}
63+
}
64+
}
65+
}
66+
}
67+
}
68+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"template": {
3+
"mappings": {
4+
"properties": {
5+
"code_signature": {
6+
"properties": {
7+
"exists": {
8+
"type": "boolean"
9+
},
10+
"status": {
11+
"ignore_above": 1024,
12+
"type": "keyword"
13+
},
14+
"subject_name": {
15+
"ignore_above": 1024,
16+
"type": "keyword"
17+
},
18+
"trusted": {
19+
"type": "boolean"
20+
},
21+
"valid": {
22+
"type": "boolean"
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)