Skip to content

Commit 1817885

Browse files
authored
Logstash use Links panel on dashboard (#14727)
* Logstash use Links panel on dashboard * Add PR link * Make it a bugfix
1 parent a8a8075 commit 1817885

12 files changed

+721
-739
lines changed

packages/logstash/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "2.7.3"
3+
changes:
4+
- description: Use Links panel in dashboards.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/14727
27
- version: "2.7.2"
38
changes:
49
- description: Aligns log and slow logs file names with Logstash default.

packages/logstash/kibana/dashboard/logstash-79270240-48ee-11ee-8cb5-99927777c522.json

Lines changed: 98 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,69 @@
2424
"useMargins": true
2525
},
2626
"panelsJSON": [
27+
{
28+
"embeddableConfig": {
29+
"enhancements": {},
30+
"attributes": {
31+
"title": "links",
32+
"layout": "vertical",
33+
"links": [
34+
{
35+
"label": "Overview",
36+
"type": "dashboardLink",
37+
"id": "logstash-79270240-48ee-11ee-8cb5-99927777c522",
38+
"order": 0,
39+
"destinationRefName": "link_logstash-79270240-48ee-11ee-8cb5-99927777c522_dashboard"
40+
},
41+
{
42+
"label": "Nodes Overview",
43+
"type": "dashboardLink",
44+
"id": "logstash-ee860840-41ed-11ee-874b-fdb94cc3273a",
45+
"order": 1,
46+
"destinationRefName": "link_logstash-ee860840-41ed-11ee-874b-fdb94cc3273a_dashboard"
47+
},
48+
{
49+
"label": "Node Overview",
50+
"type": "dashboardLink",
51+
"id": "logstash-9d450b10-4680-11ee-9ddc-919f87fe352d",
52+
"order": 2,
53+
"destinationRefName": "link_logstash-9d450b10-4680-11ee-9ddc-919f87fe352d_dashboard"
54+
},
55+
{
56+
"label": "Node Overview Advanced View",
57+
"type": "dashboardLink",
58+
"id": "logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5",
59+
"order": 3,
60+
"destinationRefName": "link_logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5_dashboard"
61+
},
62+
{
63+
"label": "Pipelines Overview",
64+
"type": "dashboardLink",
65+
"id": "logstash-c0594170-526a-11ee-9ecc-31444cb79548",
66+
"order": 4,
67+
"destinationRefName": "link_logstash-c0594170-526a-11ee-9ecc-31444cb79548_dashboard"
68+
},
69+
{
70+
"label": "Pipeline Details Overview",
71+
"type": "dashboardLink",
72+
"id": "logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc",
73+
"order": 5,
74+
"destinationRefName": "link_logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc_dashboard"
75+
}
76+
]
77+
}
78+
},
79+
"gridData": {
80+
"h": 12,
81+
"i": "67c48168-cf30-4dcb-a96e-8e0a38e6049d",
82+
"w": 8,
83+
"x": 0,
84+
"y": 0
85+
},
86+
"panelIndex": "67c48168-cf30-4dcb-a96e-8e0a38e6049d",
87+
"title": "Logstash Nav Panel",
88+
"type": "links"
89+
},
2790
{
2891
"embeddableConfig": {
2992
"enhancements": {},
@@ -43,7 +106,7 @@
43106
"id": "",
44107
"params": {
45108
"fontSize": 12,
46-
"markdown": "**Navigation** \n\n**Logstash Overview**\n\n**[Overview](/app/dashboards#/view/logstash-79270240-48ee-11ee-8cb5-99927777c522)** \n[Nodes Overview](/app/dashboards#/view/logstash-ee860840-41ed-11ee-874b-fdb94cc3273a) \n[Node Overview](/app/dashboards#/view/logstash-9d450b10-4680-11ee-9ddc-919f87fe352d) \n[Node Overview Advanced View](/app/dashboards#/view/logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5) \n\n[Pipelines Overview](/app/dashboards#/view/logstash-c0594170-526a-11ee-9ecc-31444cb79548) \n[Pipeline Details Overview](/app/dashboards#/view/logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc)\n\nOverview\n\nThis Dashboard gives an overall view of Logstash",
109+
"markdown": "Overview\n\nThis Dashboard gives an overall view of Logstash",
47110
"openLinksInNewTab": false
48111
},
49112
"title": "",
@@ -52,13 +115,13 @@
52115
}
53116
},
54117
"gridData": {
55-
"h": 24,
118+
"h": 12,
56119
"i": "67c48168-cf30-4dcb-a96e-8e0a38e6049d",
57120
"w": 8,
58121
"x": 0,
59-
"y": 0
122+
"y": 12
60123
},
61-
"panelIndex": "67c48168-cf30-4dcb-a96e-8e0a38e6049d",
124+
"panelIndex": "67c48168-cf30-4dcb-a96e-8e0a38e6049d_1",
62125
"type": "visualization"
63126
},
64127
{
@@ -1196,8 +1259,38 @@
11961259
"id": "logstash-sm-metrics",
11971260
"name": "controlGroup_5c0bd4d8-47ca-4a2f-a1ff-d9f4b55dfad0:optionsListDataView",
11981261
"type": "index-pattern"
1262+
},
1263+
{
1264+
"name": "67c48168-cf30-4dcb-a96e-8e0a38e6049d:link_logstash-79270240-48ee-11ee-8cb5-99927777c522_dashboard",
1265+
"type": "dashboard",
1266+
"id": "logstash-79270240-48ee-11ee-8cb5-99927777c522"
1267+
},
1268+
{
1269+
"name": "67c48168-cf30-4dcb-a96e-8e0a38e6049d:link_logstash-ee860840-41ed-11ee-874b-fdb94cc3273a_dashboard",
1270+
"type": "dashboard",
1271+
"id": "logstash-ee860840-41ed-11ee-874b-fdb94cc3273a"
1272+
},
1273+
{
1274+
"name": "67c48168-cf30-4dcb-a96e-8e0a38e6049d:link_logstash-9d450b10-4680-11ee-9ddc-919f87fe352d_dashboard",
1275+
"type": "dashboard",
1276+
"id": "logstash-9d450b10-4680-11ee-9ddc-919f87fe352d"
1277+
},
1278+
{
1279+
"name": "67c48168-cf30-4dcb-a96e-8e0a38e6049d:link_logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5_dashboard",
1280+
"type": "dashboard",
1281+
"id": "logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5"
1282+
},
1283+
{
1284+
"name": "67c48168-cf30-4dcb-a96e-8e0a38e6049d:link_logstash-c0594170-526a-11ee-9ecc-31444cb79548_dashboard",
1285+
"type": "dashboard",
1286+
"id": "logstash-c0594170-526a-11ee-9ecc-31444cb79548"
1287+
},
1288+
{
1289+
"name": "67c48168-cf30-4dcb-a96e-8e0a38e6049d:link_logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc_dashboard",
1290+
"type": "dashboard",
1291+
"id": "logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc"
11991292
}
12001293
],
12011294
"type": "dashboard",
12021295
"typeMigrationVersion": "8.9.0"
1203-
}
1296+
}

packages/logstash/kibana/dashboard/logstash-838aac39-8edd-48b0-95b4-289e42b1e98a.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
"y": 0
117117
},
118118
"panelIndex": "794f0447-82c3-4747-9176-d78b7dd1eb12",
119+
"title": "Logstash Nav Panel",
119120
"type": "links"
120121
},
121122
{
@@ -1225,7 +1226,7 @@
12251226
"customLabel": true,
12261227
"dataType": "string",
12271228
"isBucketed": true,
1228-
"label": "pipeline -\u003e node",
1229+
"label": "pipeline -> node",
12291230
"operationType": "terms",
12301231
"params": {
12311232
"exclude": [],
@@ -3087,4 +3088,4 @@
30873088
"type": "dashboard",
30883089
"typeMigrationVersion": "10.2.0",
30893090
"updated_by": "u_2424114829_cloud"
3090-
}
3091+
}

packages/logstash/kibana/dashboard/logstash-9a72208d-e446-48b9-8a63-c4256b9aa4e3.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"y": 0
9999
},
100100
"panelIndex": "1355f5c4-3311-4d0b-a026-0b74ed0ebdc9",
101+
"title": "Logstash Nav Panel",
101102
"type": "links"
102103
},
103104
{
@@ -1019,4 +1020,4 @@
10191020
"type": "dashboard",
10201021
"typeMigrationVersion": "10.2.0",
10211022
"updated_by": "u_2424114829_cloud"
1022-
}
1023+
}

packages/logstash/kibana/dashboard/logstash-9d450b10-4680-11ee-9ddc-919f87fe352d.json

Lines changed: 98 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,69 @@
2424
"useMargins": true
2525
},
2626
"panelsJSON": [
27+
{
28+
"embeddableConfig": {
29+
"enhancements": {},
30+
"attributes": {
31+
"title": "links",
32+
"layout": "vertical",
33+
"links": [
34+
{
35+
"label": "Overview",
36+
"type": "dashboardLink",
37+
"id": "logstash-79270240-48ee-11ee-8cb5-99927777c522",
38+
"order": 0,
39+
"destinationRefName": "link_logstash-79270240-48ee-11ee-8cb5-99927777c522_dashboard"
40+
},
41+
{
42+
"label": "Nodes Overview",
43+
"type": "dashboardLink",
44+
"id": "logstash-ee860840-41ed-11ee-874b-fdb94cc3273a",
45+
"order": 1,
46+
"destinationRefName": "link_logstash-ee860840-41ed-11ee-874b-fdb94cc3273a_dashboard"
47+
},
48+
{
49+
"label": "Node Overview",
50+
"type": "dashboardLink",
51+
"id": "logstash-9d450b10-4680-11ee-9ddc-919f87fe352d",
52+
"order": 2,
53+
"destinationRefName": "link_logstash-9d450b10-4680-11ee-9ddc-919f87fe352d_dashboard"
54+
},
55+
{
56+
"label": "Node Overview Advanced View",
57+
"type": "dashboardLink",
58+
"id": "logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5",
59+
"order": 3,
60+
"destinationRefName": "link_logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5_dashboard"
61+
},
62+
{
63+
"label": "Pipelines Overview",
64+
"type": "dashboardLink",
65+
"id": "logstash-c0594170-526a-11ee-9ecc-31444cb79548",
66+
"order": 4,
67+
"destinationRefName": "link_logstash-c0594170-526a-11ee-9ecc-31444cb79548_dashboard"
68+
},
69+
{
70+
"label": "Pipeline Details Overview",
71+
"type": "dashboardLink",
72+
"id": "logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc",
73+
"order": 5,
74+
"destinationRefName": "link_logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc_dashboard"
75+
}
76+
]
77+
}
78+
},
79+
"gridData": {
80+
"h": 12,
81+
"i": "c2c433cf-50ce-4530-86e5-f82a240c57b8",
82+
"w": 8,
83+
"x": 0,
84+
"y": 0
85+
},
86+
"panelIndex": "c2c433cf-50ce-4530-86e5-f82a240c57b8",
87+
"title": "Logstash Nav Panel",
88+
"type": "links"
89+
},
2790
{
2891
"embeddableConfig": {
2992
"enhancements": {},
@@ -43,7 +106,7 @@
43106
"id": "",
44107
"params": {
45108
"fontSize": 12,
46-
"markdown": "**Navigation** \n\n**Logstash Overview**\n\n[Overview](/app/dashboards#/view/logstash-79270240-48ee-11ee-8cb5-99927777c522) \n[Nodes Overview](/app/dashboards#/view/logstash-ee860840-41ed-11ee-874b-fdb94cc3273a) \n**[Node Overview](/app/dashboards#/view/logstash-9d450b10-4680-11ee-9ddc-919f87fe352d)** \n[Node Overview Advanced View](/app/dashboards#/view/logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5) \n\n[Pipelines Overview](/app/dashboards#/view/logstash-c0594170-526a-11ee-9ecc-31444cb79548) \n[Pipeline Details Overview](/app/dashboards#/view/logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc)\n\nOverview\n\nThis Dashboard gives a view of the overall performance of a single Logstash Node. Should be used in conjunction with the node name filter",
109+
"markdown": "Overview\n\nThis Dashboard gives a view of the overall performance of a single Logstash Node. Should be used in conjunction with the node name filter",
47110
"openLinksInNewTab": false
48111
},
49112
"title": "",
@@ -52,13 +115,13 @@
52115
}
53116
},
54117
"gridData": {
55-
"h": 38,
118+
"h": 26,
56119
"i": "c2c433cf-50ce-4530-86e5-f82a240c57b8",
57120
"w": 8,
58121
"x": 0,
59-
"y": 0
122+
"y": 12
60123
},
61-
"panelIndex": "c2c433cf-50ce-4530-86e5-f82a240c57b8",
124+
"panelIndex": "c2c433cf-50ce-4530-86e5-f82a240c57b8_1",
62125
"type": "visualization"
63126
},
64127
{
@@ -1606,8 +1669,38 @@
16061669
"id": "logstash-sm-metrics",
16071670
"name": "controlGroup_73fdfb3a-3e86-499a-93f1-993479254e4e:optionsListDataView",
16081671
"type": "index-pattern"
1672+
},
1673+
{
1674+
"name": "c2c433cf-50ce-4530-86e5-f82a240c57b8:link_logstash-79270240-48ee-11ee-8cb5-99927777c522_dashboard",
1675+
"type": "dashboard",
1676+
"id": "logstash-79270240-48ee-11ee-8cb5-99927777c522"
1677+
},
1678+
{
1679+
"name": "c2c433cf-50ce-4530-86e5-f82a240c57b8:link_logstash-ee860840-41ed-11ee-874b-fdb94cc3273a_dashboard",
1680+
"type": "dashboard",
1681+
"id": "logstash-ee860840-41ed-11ee-874b-fdb94cc3273a"
1682+
},
1683+
{
1684+
"name": "c2c433cf-50ce-4530-86e5-f82a240c57b8:link_logstash-9d450b10-4680-11ee-9ddc-919f87fe352d_dashboard",
1685+
"type": "dashboard",
1686+
"id": "logstash-9d450b10-4680-11ee-9ddc-919f87fe352d"
1687+
},
1688+
{
1689+
"name": "c2c433cf-50ce-4530-86e5-f82a240c57b8:link_logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5_dashboard",
1690+
"type": "dashboard",
1691+
"id": "logstash-a42d7060-45e6-11ee-957b-3720c0b0fbc5"
1692+
},
1693+
{
1694+
"name": "c2c433cf-50ce-4530-86e5-f82a240c57b8:link_logstash-c0594170-526a-11ee-9ecc-31444cb79548_dashboard",
1695+
"type": "dashboard",
1696+
"id": "logstash-c0594170-526a-11ee-9ecc-31444cb79548"
1697+
},
1698+
{
1699+
"name": "c2c433cf-50ce-4530-86e5-f82a240c57b8:link_logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc_dashboard",
1700+
"type": "dashboard",
1701+
"id": "logstash-bc1a8050-5ee1-11ee-8e78-bf6865bc3ffc"
16091702
}
16101703
],
16111704
"type": "dashboard",
16121705
"typeMigrationVersion": "8.9.0"
1613-
}
1706+
}

packages/logstash/kibana/dashboard/logstash-Logs-Logstash-Log-Dashboard.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"y": 0
172172
},
173173
"panelIndex": "2",
174-
"title": "Logs Severity [Logs Logstash]",
174+
"title": "Logs Severity",
175175
"type": "lens",
176176
"version": "8.10.1"
177177
},
@@ -379,7 +379,7 @@
379379
"y": 0
380380
},
381381
"panelIndex": "3",
382-
"title": "logs over time [Logs Logstash] ",
382+
"title": "logs over time",
383383
"type": "lens",
384384
"version": "8.10.1"
385385
},
@@ -448,7 +448,7 @@
448448
"y": 12
449449
},
450450
"panelIndex": "af2a55ed-378b-4e23-bd0e-00b32b474ee0",
451-
"title": "logs [Logs Logstash]",
451+
"title": "logs",
452452
"type": "search",
453453
"version": "8.10.1"
454454
}

packages/logstash/kibana/dashboard/logstash-Logs-Logstash-Slowlog-Dashboard.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"y": 0
172172
},
173173
"panelIndex": "2",
174-
"title": "Logs Severity [Logs Logstash]",
174+
"title": "Logs Severity",
175175
"type": "lens",
176176
"version": "8.10.1"
177177
},
@@ -379,7 +379,7 @@
379379
"y": 0
380380
},
381381
"panelIndex": "3",
382-
"title": "logs over time [Logs Logstash]",
382+
"title": "logs over time",
383383
"type": "lens",
384384
"version": "8.10.1"
385385
},
@@ -590,7 +590,7 @@
590590
"y": 12
591591
},
592592
"panelIndex": "4fa42b7f-0cc0-4a0a-9d1b-59a5686d218e",
593-
"title": "Slowest plugins [Logs Logstash]",
593+
"title": "Slowest plugins",
594594
"type": "lens",
595595
"version": "8.10.1"
596596
},
@@ -653,7 +653,7 @@
653653
"y": 24
654654
},
655655
"panelIndex": "6f78f1bb-ad98-47ce-937f-52b2125bd7b3",
656-
"title": "Slow logs [Logs Logstash]",
656+
"title": "Slow logs",
657657
"type": "search",
658658
"version": "8.10.1"
659659
}

0 commit comments

Comments
 (0)