Skip to content

Commit

Permalink
Improve k8s dashboard (elastic#30913)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrsMark authored Mar 22, 2022
1 parent 6551b5b commit 684fe3c
Show file tree
Hide file tree
Showing 16 changed files with 190 additions and 96 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...main[Check the HEAD dif
- Add `commandstats` field to Redis module {pull}29662[29662]
- Extend documentation about `kubernetes.node.network.*` fields {pull}30826[30826]
- Add `kubernetes.volume.fs.inodes.pct` field. {pull}30785[30785]
- Improve Kubernetes dashboard. {pull}30913[30913]

*Packetbeat*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"panelIndex": "1",
"panelRefName": "panel_1",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -48,7 +48,7 @@
"panelIndex": "2",
"panelRefName": "panel_2",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -64,7 +64,7 @@
"panelIndex": "5",
"panelRefName": "panel_5",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -80,7 +80,7 @@
"panelIndex": "6",
"panelRefName": "panel_6",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -96,7 +96,7 @@
"panelIndex": "7",
"panelRefName": "panel_7",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -112,7 +112,7 @@
"panelIndex": "8",
"panelRefName": "panel_8",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -128,7 +128,7 @@
"panelIndex": "9",
"panelRefName": "panel_9",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -144,7 +144,7 @@
"panelIndex": "10",
"panelRefName": "panel_10",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -160,7 +160,7 @@
"panelIndex": "11",
"panelRefName": "panel_11",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -176,7 +176,7 @@
"panelIndex": "12",
"panelRefName": "panel_12",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -192,7 +192,7 @@
"panelIndex": "13",
"panelRefName": "panel_13",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -208,7 +208,7 @@
"panelIndex": "14",
"panelRefName": "panel_14",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -224,7 +224,7 @@
"panelIndex": "15",
"panelRefName": "panel_15",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
},
{
"embeddableConfig": {
Expand All @@ -240,17 +240,17 @@
"panelIndex": "43e2c937-a06e-4f6c-9e01-e2669110f160",
"panelRefName": "panel_43e2c937-a06e-4f6c-9e01-e2669110f160",
"type": "visualization",
"version": "7.11.0"
"version": "8.2.0"
}
],
"timeRestore": false,
"title": "[Metricbeat Kubernetes] Overview ECS",
"version": 1
},
"coreMigrationVersion": "8.0.0",
"coreMigrationVersion": "8.2.0",
"id": "e0381d10-e4a6-11eb-9d53-3b3d1d47c519",
"migrationVersion": {
"dashboard": "7.14.0"
"dashboard": "8.2.0"
},
"references": [
{
Expand Down Expand Up @@ -325,6 +325,6 @@
}
],
"type": "dashboard",
"updated_at": "2021-08-04T16:31:37.319Z",
"version": "WzQwMTIsMV0="
}
"updated_at": "2022-03-21T09:56:20.439Z",
"version": "WzI5MTEsMl0="
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"params": {
"axis_formatter": "number",
"axis_position": "left",
"drop_last_bucket": 1,
"filter": {
"language": "lucene",
"query": "event.module:kubernetes AND metricset.name:state_deployment"
Expand Down Expand Up @@ -61,13 +62,13 @@
"type": "metrics"
}
},
"coreMigrationVersion": "8.0.0",
"coreMigrationVersion": "8.2.0",
"id": "022a54c0-2bf5-11e7-859b-f78b612cde28-ecs",
"migrationVersion": {
"visualization": "7.14.0"
"visualization": "8.1.0"
},
"references": [],
"type": "visualization",
"updated_at": "2021-08-04T16:31:37.319Z",
"version": "WzQwMTMsMV0="
"updated_at": "2022-03-18T11:52:30.304Z",
"version": "WzI3MDUsMl0="
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"id": "1373ddd0-2bf2-11e7-859b-f78b612cde28"
}
],
"drop_last_bucket": 1,
"filter": {
"language": "lucene",
"query": "event.module:kubernetes AND metricset.name:pod"
Expand Down Expand Up @@ -86,13 +87,13 @@
"type": "metrics"
}
},
"coreMigrationVersion": "8.0.0",
"coreMigrationVersion": "8.2.0",
"id": "16fa4470-2bfd-11e7-859b-f78b612cde28-ecs",
"migrationVersion": {
"visualization": "7.14.0"
"visualization": "8.1.0"
},
"references": [],
"type": "visualization",
"updated_at": "2021-08-04T16:31:37.319Z",
"version": "WzQwMTgsMV0="
"updated_at": "2022-03-18T11:52:30.304Z",
"version": "WzI3MDksMl0="
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@
"attributes": {
"description": "",
"kibanaSavedObjectMeta": {
"searchSourceJSON": {}
"searchSourceJSON": {
"filter": [],
"query": {
"language": "kuery",
"query": ""
}
}
},
"title": "Unavailable pods [Metricbeat Kubernetes] ECS",
"uiStateJSON": {},
"version": 1,
"visState": {
"aggs": [],
"listeners": {},
"params": {
"axis_formatter": "number",
"axis_position": "left",
"axis_scale": "normal",
"background_color_rules": [
{
"id": "508ffb30-30d5-11e7-8df8-6d3604a72912"
Expand All @@ -23,6 +29,7 @@
"id": "674d83b0-30d5-11e7-8df8-6d3604a72912"
}
],
"drop_last_bucket": 1,
"filter": {
"language": "lucene",
"query": "event.module:kubernetes AND metricset.name:state_deployment"
Expand All @@ -40,47 +47,67 @@
"id": "2fe9d3b0-30d5-11e7-8df8-6d3604a72912",
"index_pattern": "metricbeat-*",
"interval": "auto",
"max_lines_legend": 1,
"series": [
{
"axis_position": "right",
"chart_type": "line",
"color": "#68BC00",
"fill": 0.5,
"formatter": "number",
"formatter": "",
"id": "2fe9d3b1-30d5-11e7-8df8-6d3604a72912",
"label": "Unavailable Pods",
"line_width": 1,
"metrics": [
{
"agg_with": "avg",
"field": "kubernetes.deployment.replicas.unavailable",
"id": "54cf79a0-30d5-11e7-8df8-6d3604a72912",
"type": "sum"
"order": "desc",
"order_by": "@timestamp",
"size": 1,
"type": "top_hit"
},
{
"function": "sum",
"id": "5cffb9f0-a6b4-11ec-ad4d-1dee3ca0438a",
"type": "series_agg"
}
],
"point_size": 1,
"seperate_axis": 0,
"series_interval": "10s",
"split_color_mode": "gradient",
"split_mode": "everything",
"stacked": "none"
"split_mode": "terms",
"stacked": "none",
"terms_field": [
"kubernetes.deployment.name",
"kubernetes.namespace"
],
"terms_size": "10001",
"time_range_mode": "entire_time_range"
}
],
"show_grid": 1,
"show_legend": 1,
"time_field": "@timestamp",
"time_range_mode": "last_value",
"tooltip_mode": "show_all",
"truncate_legend": 1,
"type": "metric",
"use_kibana_indexes": false
},
"title": "Unavailable pods [Metricbeat Kubernetes] ECS",
"type": "metrics"
}
},
"coreMigrationVersion": "8.0.0",
"coreMigrationVersion": "8.2.0",
"id": "174a6ad0-30e0-11e7-8df8-6d3604a72912-ecs",
"migrationVersion": {
"visualization": "7.14.0"
"visualization": "8.1.0"
},
"references": [],
"type": "visualization",
"updated_at": "2021-08-04T16:31:37.319Z",
"version": "WzQwMjMsMV0="
}
"updated_at": "2022-03-18T12:10:56.522Z",
"version": "WzI3ODksMl0="
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"id": "1373ddd0-2bf2-11e7-859b-f78b612cde28"
}
],
"drop_last_bucket": 1,
"filter": {
"language": "lucene",
"query": "event.module:kubernetes AND metricset.name:pod"
Expand Down Expand Up @@ -86,13 +87,13 @@
"type": "metrics"
}
},
"coreMigrationVersion": "8.0.0",
"coreMigrationVersion": "8.2.0",
"id": "294546b0-30d6-11e7-8df8-6d3604a72912-ecs",
"migrationVersion": {
"visualization": "7.14.0"
"visualization": "8.1.0"
},
"references": [],
"type": "visualization",
"updated_at": "2021-08-04T16:31:37.319Z",
"version": "WzQwMTksMV0="
"updated_at": "2022-03-18T11:52:30.304Z",
"version": "WzI3MTAsMl0="
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"id": "68cdba10-30e0-11e7-8df8-6d3604a72912"
}
],
"drop_last_bucket": 1,
"filter": {
"language": "lucene",
"query": "event.module:kubernetes AND metricset.name:state_node"
Expand Down Expand Up @@ -73,13 +74,13 @@
"type": "metrics"
}
},
"coreMigrationVersion": "8.0.0",
"coreMigrationVersion": "8.2.0",
"id": "408fccf0-30d6-11e7-8df8-6d3604a72912-ecs",
"migrationVersion": {
"visualization": "7.14.0"
"visualization": "8.1.0"
},
"references": [],
"type": "visualization",
"updated_at": "2021-08-04T16:31:37.319Z",
"version": "WzQwMjAsMV0="
"updated_at": "2022-03-18T11:52:30.304Z",
"version": "WzI3MTEsMl0="
}
Loading

0 comments on commit 684fe3c

Please sign in to comment.