Skip to content

Commit e30a058

Browse files
authored
Merge pull request #7232 from bertrandrigaud/tornado-logs-split-doc
[8.0] docs: Tornado logs split
2 parents a007100 + 01ae28d commit e30a058

File tree

11 files changed

+1883
-0
lines changed

11 files changed

+1883
-0
lines changed

dashboards/tornadoLogs/grafana/DIRAC_Metrics.json

Lines changed: 573 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 368 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,368 @@
1+
{
2+
"annotations": {
3+
"list": [
4+
{
5+
"builtIn": 1,
6+
"datasource": {
7+
"type": "grafana",
8+
"uid": "-- Grafana --"
9+
},
10+
"enable": true,
11+
"hide": true,
12+
"iconColor": "rgba(0, 211, 255, 1)",
13+
"name": "Annotations & Alerts",
14+
"target": {
15+
"limit": 100,
16+
"matchAny": false,
17+
"tags": [],
18+
"type": "dashboard"
19+
},
20+
"type": "dashboard"
21+
}
22+
]
23+
},
24+
"description": "",
25+
"editable": true,
26+
"fiscalYearStartMonth": 0,
27+
"graphTooltip": 0,
28+
"id": 54,
29+
"links": [],
30+
"liveNow": true,
31+
"panels": [
32+
{
33+
"datasource": {
34+
"type": "elasticsearch",
35+
"uid": "BcHFbIBVz"
36+
},
37+
"fieldConfig": {
38+
"defaults": {
39+
"color": {
40+
"mode": "fixed"
41+
},
42+
"custom": {
43+
"align": "auto",
44+
"displayMode": "color-text",
45+
"filterable": false,
46+
"inspect": true
47+
},
48+
"mappings": [],
49+
"thresholds": {
50+
"mode": "absolute",
51+
"steps": [
52+
{
53+
"color": "green",
54+
"value": null
55+
},
56+
{
57+
"color": "red",
58+
"value": 80
59+
}
60+
]
61+
}
62+
},
63+
"overrides": [
64+
{
65+
"matcher": {
66+
"id": "byName",
67+
"options": "componentname"
68+
},
69+
"properties": [
70+
{
71+
"id": "custom.width",
72+
"value": 136
73+
}
74+
]
75+
},
76+
{
77+
"matcher": {
78+
"id": "byName",
79+
"options": "@timestamp"
80+
},
81+
"properties": [
82+
{
83+
"id": "custom.width",
84+
"value": 168
85+
}
86+
]
87+
},
88+
{
89+
"matcher": {
90+
"id": "byName",
91+
"options": "_id"
92+
},
93+
"properties": [
94+
{
95+
"id": "custom.width",
96+
"value": 57
97+
}
98+
]
99+
},
100+
{
101+
"matcher": {
102+
"id": "byName",
103+
"options": "_index"
104+
},
105+
"properties": [
106+
{
107+
"id": "custom.width",
108+
"value": 81
109+
}
110+
]
111+
},
112+
{
113+
"matcher": {
114+
"id": "byName",
115+
"options": "_type"
116+
},
117+
"properties": [
118+
{
119+
"id": "custom.width",
120+
"value": 58
121+
}
122+
]
123+
},
124+
{
125+
"matcher": {
126+
"id": "byName",
127+
"options": "asctime"
128+
},
129+
"properties": [
130+
{
131+
"id": "custom.width",
132+
"value": 80
133+
}
134+
]
135+
},
136+
{
137+
"matcher": {
138+
"id": "byName",
139+
"options": "customname"
140+
},
141+
"properties": [
142+
{
143+
"id": "custom.width",
144+
"value": 289
145+
}
146+
]
147+
},
148+
{
149+
"matcher": {
150+
"id": "byName",
151+
"options": "highlight"
152+
},
153+
"properties": [
154+
{
155+
"id": "custom.width",
156+
"value": 78
157+
}
158+
]
159+
},
160+
{
161+
"matcher": {
162+
"id": "byName",
163+
"options": "levelname"
164+
},
165+
"properties": [
166+
{
167+
"id": "custom.width",
168+
"value": 102
169+
}
170+
]
171+
},
172+
{
173+
"matcher": {
174+
"id": "byName",
175+
"options": "varmessage"
176+
},
177+
"properties": [
178+
{
179+
"id": "custom.width",
180+
"value": 708
181+
}
182+
]
183+
}
184+
]
185+
},
186+
"gridPos": {
187+
"h": 23,
188+
"w": 24,
189+
"x": 0,
190+
"y": 0
191+
},
192+
"id": 4,
193+
"options": {
194+
"footer": {
195+
"enablePagination": true,
196+
"fields": "",
197+
"reducer": [
198+
"sum"
199+
],
200+
"show": false
201+
},
202+
"showHeader": true,
203+
"sortBy": [
204+
{
205+
"desc": true,
206+
"displayName": "@timestamp"
207+
}
208+
]
209+
},
210+
"pluginVersion": "9.3.6",
211+
"targets": [
212+
{
213+
"alias": "",
214+
"bucketAggs": [],
215+
"datasource": {
216+
"type": "elasticsearch",
217+
"uid": "BcHFbIBVz"
218+
},
219+
"metrics": [
220+
{
221+
"id": "1",
222+
"settings": {
223+
"size": "1000"
224+
},
225+
"type": "raw_data"
226+
}
227+
],
228+
"query": "componentname:$componentname AND customname:$customname AND levelname:$levelname",
229+
"refId": "A",
230+
"timeField": "@timestamp"
231+
}
232+
],
233+
"title": "Logs Table",
234+
"transformations": [
235+
{
236+
"id": "organize",
237+
"options": {
238+
"excludeByName": {
239+
"_id": true,
240+
"_index": true,
241+
"_type": true,
242+
"asctime": true,
243+
"highlight": true,
244+
"sort": true,
245+
"tornadoComponent": true
246+
},
247+
"indexByName": {
248+
"@timestamp": 0,
249+
"_id": 1,
250+
"_index": 2,
251+
"_type": 3,
252+
"asctime": 4,
253+
"componentname": 5,
254+
"customname": 6,
255+
"highlight": 7,
256+
"hostname": 12,
257+
"levelname": 8,
258+
"message": 9,
259+
"sort": 10,
260+
"varmessage": 11
261+
},
262+
"renameByName": {}
263+
}
264+
}
265+
],
266+
"type": "table"
267+
}
268+
],
269+
"schemaVersion": 37,
270+
"style": "dark",
271+
"tags": [],
272+
"templating": {
273+
"list": [
274+
{
275+
"current": {
276+
"selected": true,
277+
"text": [
278+
"All"
279+
],
280+
"value": [
281+
"$__all"
282+
]
283+
},
284+
"datasource": {
285+
"type": "elasticsearch",
286+
"uid": "BcHFbIBVz"
287+
},
288+
"definition": "{\"find\":\"terms\", \"field\":\"componentname.keyword\",\"query\":\"*\"}",
289+
"hide": 0,
290+
"includeAll": true,
291+
"label": "",
292+
"multi": true,
293+
"name": "componentname",
294+
"options": [],
295+
"query": "{\"find\":\"terms\", \"field\":\"componentname.keyword\",\"query\":\"*\"}",
296+
"refresh": 2,
297+
"regex": "",
298+
"skipUrlSync": false,
299+
"sort": 0,
300+
"type": "query"
301+
},
302+
{
303+
"current": {
304+
"selected": true,
305+
"text": [
306+
"All"
307+
],
308+
"value": [
309+
"$__all"
310+
]
311+
},
312+
"datasource": {
313+
"type": "elasticsearch",
314+
"uid": "BcHFbIBVz"
315+
},
316+
"definition": "{\"find\":\"terms\", \"field\":\"customname.keyword\",\"query\":\"*\"}",
317+
"hide": 0,
318+
"includeAll": true,
319+
"multi": true,
320+
"name": "customname",
321+
"options": [],
322+
"query": "{\"find\":\"terms\", \"field\":\"customname.keyword\",\"query\":\"*\"}",
323+
"refresh": 1,
324+
"regex": "",
325+
"skipUrlSync": false,
326+
"sort": 0,
327+
"type": "query"
328+
},
329+
{
330+
"current": {
331+
"selected": true,
332+
"text": [
333+
"All"
334+
],
335+
"value": [
336+
"$__all"
337+
]
338+
},
339+
"datasource": {
340+
"type": "elasticsearch",
341+
"uid": "BcHFbIBVz"
342+
},
343+
"definition": "{\"find\":\"terms\", \"field\":\"levelname.keyword\",\"query\":\"*\"}",
344+
"hide": 0,
345+
"includeAll": true,
346+
"multi": true,
347+
"name": "levelname",
348+
"options": [],
349+
"query": "{\"find\":\"terms\", \"field\":\"levelname.keyword\",\"query\":\"*\"}",
350+
"refresh": 1,
351+
"regex": "",
352+
"skipUrlSync": false,
353+
"sort": 0,
354+
"type": "query"
355+
}
356+
]
357+
},
358+
"time": {
359+
"from": "now-1h",
360+
"to": "now"
361+
},
362+
"timepicker": {},
363+
"timezone": "",
364+
"title": "Dirac Logs ALL",
365+
"uid": "SXvsbSBVk",
366+
"version": 63,
367+
"weekStart": ""
368+
}

0 commit comments

Comments
 (0)