blob: ac9cce02ba5829117ab98a03c8a15151cc6d097f [file] [log] [blame]
Andy Bavier70b2a252021-03-04 09:33:23 -07001{
2 "annotations": {
3 "list": [
4 {
5 "builtIn": 1,
6 "datasource": "-- Grafana --",
7 "enable": true,
8 "hide": true,
9 "iconColor": "rgba(0, 211, 255, 1)",
10 "name": "Annotations & Alerts",
11 "type": "dashboard"
12 }
13 ]
14 },
15 "editable": true,
16 "gnetId": null,
17 "graphTooltip": 0,
18 "iteration": 1614790452365,
19 "links": [],
20 "panels": [
21 {
22 "aliasColors": {},
23 "bars": false,
24 "dashLength": 10,
25 "dashes": false,
26 "datasource": "$es_datasource",
27 "description": "",
28 "fieldConfig": {
29 "defaults": {
30 "custom": {
31 "align": null
32 },
33 "mappings": [],
34 "thresholds": {
35 "mode": "absolute",
36 "steps": [
37 {
38 "color": "green",
39 "value": null
40 },
41 {
42 "color": "red",
43 "value": 80
44 }
45 ]
46 }
47 },
48 "overrides": []
49 },
50 "fill": 10,
51 "fillGradient": 0,
52 "gridPos": {
53 "h": 5,
54 "w": 12,
55 "x": 0,
56 "y": 0
57 },
58 "hiddenSeries": false,
59 "id": 2,
60 "legend": {
61 "avg": false,
62 "current": false,
63 "hideEmpty": false,
64 "hideZero": false,
65 "max": false,
66 "min": false,
67 "show": false,
68 "total": false,
69 "values": false
70 },
71 "lines": true,
72 "linewidth": 1,
73 "nullPointMode": "null",
74 "percentage": false,
75 "pluginVersion": "7.1.5",
76 "pointradius": 2,
77 "points": false,
78 "renderer": "flot",
79 "repeat": "pod",
80 "repeatDirection": "v",
81 "seriesOverrides": [],
82 "spaceLength": 10,
83 "stack": true,
84 "steppedLine": false,
85 "targets": [
86 {
87 "bucketAggs": [
88 {
89 "$$hashKey": "object:3957",
90 "fake": true,
91 "field": "kubernetes.pod_name.keyword",
92 "id": "3",
93 "settings": {
94 "min_doc_count": "1",
95 "order": "desc",
96 "orderBy": "_term",
97 "size": "0"
98 },
99 "type": "terms"
100 },
101 {
102 "$$hashKey": "object:195",
103 "field": "@timestamp",
104 "id": "2",
105 "settings": {
106 "interval": "1m",
107 "min_doc_count": "0",
108 "trimEdges": 0
109 },
110 "type": "date_histogram"
111 }
112 ],
113 "metrics": [
114 {
115 "$$hashKey": "object:193",
116 "field": "select field",
117 "id": "1",
118 "meta": {},
119 "settings": {},
120 "type": "count"
121 }
122 ],
123 "query": "kubernetes.namespace_name.keyword:$es_namespace",
124 "refId": "A",
125 "timeField": "@timestamp"
126 }
127 ],
128 "thresholds": [],
129 "timeFrom": null,
130 "timeRegions": [],
131 "timeShift": null,
132 "title": "Namespace $es_namespace: Log Messages Per Minute",
133 "tooltip": {
134 "shared": true,
135 "sort": 0,
136 "value_type": "individual"
137 },
138 "transformations": [],
139 "type": "graph",
140 "xaxis": {
141 "buckets": null,
142 "mode": "time",
143 "name": null,
144 "show": true,
145 "values": []
146 },
147 "yaxes": [
148 {
149 "$$hashKey": "object:875",
150 "format": "short",
151 "label": null,
152 "logBase": 1,
153 "max": null,
154 "min": null,
155 "show": true
156 },
157 {
158 "$$hashKey": "object:876",
159 "format": "short",
160 "label": null,
161 "logBase": 1,
162 "max": null,
163 "min": null,
164 "show": true
165 }
166 ],
167 "yaxis": {
168 "align": false,
169 "alignLevel": null
170 }
171 },
172 {
173 "aliasColors": {},
174 "bars": false,
175 "dashLength": 10,
176 "dashes": false,
177 "datasource": "$es_datasource",
178 "description": "",
179 "fieldConfig": {
180 "defaults": {
181 "custom": {}
182 },
183 "overrides": []
184 },
185 "fill": 10,
186 "fillGradient": 0,
187 "gridPos": {
188 "h": 5,
189 "w": 12,
190 "x": 12,
191 "y": 0
192 },
193 "hiddenSeries": false,
194 "id": 4,
195 "legend": {
196 "avg": false,
197 "current": false,
198 "max": false,
199 "min": false,
200 "show": false,
201 "total": false,
202 "values": false
203 },
204 "lines": true,
205 "linewidth": 1,
206 "nullPointMode": "null",
207 "percentage": false,
208 "pluginVersion": "7.1.5",
209 "pointradius": 2,
210 "points": false,
211 "renderer": "flot",
212 "repeatDirection": "v",
213 "seriesOverrides": [],
214 "spaceLength": 10,
215 "stack": true,
216 "steppedLine": false,
217 "targets": [
218 {
219 "bucketAggs": [
220 {
221 "$$hashKey": "object:191",
222 "fake": true,
223 "field": "kubernetes.container_name.keyword",
224 "id": "3",
225 "settings": {
226 "min_doc_count": "1",
227 "order": "desc",
228 "orderBy": "_term",
229 "size": "0"
230 },
231 "type": "terms"
232 },
233 {
234 "$$hashKey": "object:195",
235 "field": "@timestamp",
236 "id": "2",
237 "settings": {
238 "interval": "1m",
239 "min_doc_count": "0",
240 "trimEdges": 0
241 },
242 "type": "date_histogram"
243 }
244 ],
245 "metrics": [
246 {
247 "$$hashKey": "object:193",
248 "field": "select field",
249 "id": "1",
250 "type": "count"
251 }
252 ],
253 "query": "kubernetes.pod_name.keyword:$es_pod AND kubernetes.namespace_name.keyword:$es_namespace AND (logLevel.keyword:$es_loglevel)",
254 "refId": "A",
255 "timeField": "@timestamp"
256 }
257 ],
258 "thresholds": [],
259 "timeFrom": null,
260 "timeRegions": [],
261 "timeShift": null,
262 "title": "Pod $es_pod: Log Messages per Minute",
263 "tooltip": {
264 "shared": true,
265 "sort": 0,
266 "value_type": "individual"
267 },
268 "type": "graph",
269 "xaxis": {
270 "buckets": null,
271 "mode": "time",
272 "name": null,
273 "show": true,
274 "values": []
275 },
276 "yaxes": [
277 {
278 "$$hashKey": "object:171",
279 "format": "short",
280 "label": null,
281 "logBase": 1,
282 "max": null,
283 "min": null,
284 "show": true
285 },
286 {
287 "$$hashKey": "object:172",
288 "format": "short",
289 "label": null,
290 "logBase": 1,
291 "max": null,
292 "min": null,
293 "show": true
294 }
295 ],
296 "yaxis": {
297 "align": false,
298 "alignLevel": null
299 }
300 },
301 {
302 "datasource": "$es_datasource",
303 "description": "",
304 "fieldConfig": {
305 "defaults": {
306 "custom": {
307 "align": null
308 },
309 "mappings": [],
310 "thresholds": {
311 "mode": "absolute",
312 "steps": [
313 {
314 "color": "green",
315 "value": null
316 },
317 {
318 "color": "red",
319 "value": 80
320 }
321 ]
322 }
323 },
324 "overrides": [
325 {
326 "matcher": {
327 "id": "byName",
328 "options": "_source"
329 },
330 "properties": [
331 {
332 "id": "custom.width",
333 "value": 218
334 }
335 ]
336 },
337 {
338 "matcher": {
339 "id": "byName",
340 "options": "kubernetes.container_hash"
341 },
342 "properties": [
343 {
344 "id": "custom.width",
345 "value": 235
346 }
347 ]
348 },
349 {
350 "matcher": {
351 "id": "byName",
352 "options": "kubernetes.container_image"
353 },
354 "properties": [
355 {
356 "id": "custom.width",
357 "value": 178
358 }
359 ]
360 },
361 {
362 "matcher": {
363 "id": "byName",
364 "options": "kubernetes.labels.release"
365 },
366 "properties": [
367 {
368 "id": "custom.width",
369 "value": 168
370 }
371 ]
372 }
373 ]
374 },
375 "gridPos": {
376 "h": 14,
377 "w": 24,
378 "x": 0,
379 "y": 5
380 },
381 "id": 3,
382 "options": {
383 "showLabels": false,
384 "showTime": true,
385 "sortOrder": "Descending",
386 "wrapLogMessage": false
387 },
388 "pluginVersion": "7.1.5",
389 "repeatDirection": "v",
390 "targets": [
391 {
392 "bucketAggs": [
393 {
394 "$$hashKey": "object:381",
395 "field": "@timestamp",
396 "id": "2",
397 "settings": {
398 "interval": "auto",
399 "min_doc_count": 0,
400 "trimEdges": 0
401 },
402 "type": "date_histogram"
403 }
404 ],
405 "metrics": [
406 {
407 "$$hashKey": "object:211",
408 "field": "select field",
409 "id": "1",
410 "meta": {},
411 "settings": {},
412 "type": "logs"
413 }
414 ],
415 "query": "kubernetes.container_name.keyword:$es_container AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.namespace_name.keyword:$es_namespace AND (logLevel.keyword:$es_loglevel)",
416 "refId": "A",
417 "timeField": "@timestamp"
418 }
419 ],
420 "timeFrom": null,
421 "timeShift": null,
422 "title": "$es_pod Logs ($es_container)",
423 "transparent": true,
424 "type": "logs"
425 }
426 ],
427 "refresh": "10s",
428 "schemaVersion": 26,
429 "style": "dark",
430 "tags": [],
431 "templating": {
432 "list": [
433 {
434 "current": {
435 "selected": true,
436 "text": "ace-cornell1-prd-es",
437 "value": "ace-cornell1-prd-es"
438 },
439 "hide": 0,
440 "includeAll": false,
441 "label": "Datasource",
442 "multi": false,
443 "name": "es_datasource",
444 "options": [],
445 "query": "elasticsearch",
446 "queryValue": "",
447 "refresh": 1,
448 "regex": "",
449 "skipUrlSync": false,
450 "type": "datasource"
451 },
452 {
453 "allValue": null,
454 "current": {
455 "selected": false,
456 "text": "omec",
457 "value": "omec"
458 },
459 "datasource": "$es_datasource",
460 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.namespace_name.keyword\"}\t",
461 "hide": 0,
462 "includeAll": false,
463 "label": "Namespace",
464 "multi": false,
465 "name": "es_namespace",
466 "options": [],
467 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.namespace_name.keyword\"}\t",
468 "refresh": 2,
469 "regex": "",
470 "skipUrlSync": false,
471 "sort": 0,
472 "tagValuesQuery": "",
473 "tags": [],
474 "tagsQuery": "",
475 "type": "query",
476 "useTags": false
477 },
478 {
479 "allValue": null,
480 "current": {
481 "selected": false,
482 "text": "pfcp-0",
483 "value": "pfcp-0"
484 },
485 "datasource": "$es_datasource",
486 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}\t",
487 "hide": 0,
488 "includeAll": false,
489 "label": "Pod",
490 "multi": false,
491 "name": "es_pod",
492 "options": [],
493 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}\t",
494 "refresh": 2,
495 "regex": "",
496 "skipUrlSync": false,
497 "sort": 0,
498 "tagValuesQuery": "",
499 "tags": [],
500 "tagsQuery": "",
501 "type": "query",
502 "useTags": false
503 },
504 {
505 "allValue": "",
506 "current": {
507 "selected": true,
508 "text": [
509 "All"
510 ],
511 "value": [
512 "$__all"
513 ]
514 },
515 "datasource": "$es_datasource",
516 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t",
517 "hide": 0,
518 "includeAll": true,
519 "label": "Container",
520 "multi": true,
521 "name": "es_container",
522 "options": [],
523 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t",
524 "refresh": 2,
525 "regex": "",
526 "skipUrlSync": false,
527 "sort": 0,
528 "tagValuesQuery": "",
529 "tags": [],
530 "tagsQuery": "",
531 "type": "query",
532 "useTags": false
533 },
534 {
535 "allValue": "null OR *",
536 "current": {
537 "selected": true,
538 "text": [
539 "All"
540 ],
541 "value": [
542 "$__all"
543 ]
544 },
545 "datasource": "$es_datasource",
546 "definition": "{\"find\": \"terms\", \"field\": \"logLevel.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.container_name.keyword:$es_container\"}\t",
547 "hide": 0,
548 "includeAll": true,
549 "label": "Log Level",
550 "multi": true,
551 "name": "es_loglevel",
552 "options": [],
553 "query": "{\"find\": \"terms\", \"field\": \"logLevel.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.container_name.keyword:$es_container\"}\t",
554 "refresh": 2,
555 "regex": "",
556 "skipUrlSync": false,
557 "sort": 0,
558 "tagValuesQuery": "",
559 "tags": [],
560 "tagsQuery": "",
561 "type": "query",
562 "useTags": false
563 }
564 ]
565 },
566 "time": {
567 "from": "now-1h",
568 "to": "now"
569 },
570 "timepicker": {
571 "refresh_intervals": [
572 "5s",
573 "10s",
574 "30s",
575 "1m",
576 "5m",
577 "15m",
578 "30m",
579 "1h",
580 "2h",
581 "1d"
582 ],
583 "time_options": [
584 "5m",
585 "15m",
586 "1h",
587 "6h",
588 "12h",
589 "24h",
590 "2d",
591 "7d",
592 "30d"
593 ]
594 },
595 "timezone": "UTC",
596 "title": "Kubernetes / Logs / Pod",
597 "uid": "e2QUYvPMk",
598 "version": 1
599}