Skip to content

Commit 5a64b09

Browse files
[O11y][Stan] Migrate Client IP Count Timeline visualization to lens (#8382)
* migrate client ip count timeline visualization to lens. * update changelog.yml
1 parent 0517543 commit 5a64b09

File tree

5 files changed

+140
-160
lines changed

5 files changed

+140
-160
lines changed

packages/stan/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: "1.4.2"
3+
changes:
4+
- description: Migrate `Client IP Count Timeline` visualization to lens.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/8382
27
- version: "1.4.1"
38
changes:
49
- description: Add subscriptions data stream metric types mappings.
1.3 KB
Loading

packages/stan/kibana/dashboard/stan-Logs-stan-overview.json

Lines changed: 134 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,20 +1284,145 @@
12841284
},
12851285
{
12861286
"embeddableConfig": {
1287+
"attributes": {
1288+
"description": "",
1289+
"references": [
1290+
{
1291+
"id": "logs-*",
1292+
"name": "indexpattern-datasource-layer-a6cffea3-fd32-4248-9e86-c68a17e09b89",
1293+
"type": "index-pattern"
1294+
}
1295+
],
1296+
"state": {
1297+
"adHocDataViews": {},
1298+
"datasourceStates": {
1299+
"formBased": {
1300+
"layers": {
1301+
"a6cffea3-fd32-4248-9e86-c68a17e09b89": {
1302+
"columnOrder": [
1303+
"0bdb5898-ef89-4767-8f62-98685f50d126",
1304+
"b0b1b2a4-6420-489a-acf1-3a98b67df744",
1305+
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b"
1306+
],
1307+
"columns": {
1308+
"0bdb5898-ef89-4767-8f62-98685f50d126": {
1309+
"dataType": "string",
1310+
"isBucketed": true,
1311+
"label": "Filters",
1312+
"operationType": "filters",
1313+
"params": {
1314+
"filters": [
1315+
{
1316+
"input": {
1317+
"language": "kuery",
1318+
"query": "client.ip \u003e\"0.0.0.0\" and client.ip \u003c \"127.255.255.255\""
1319+
},
1320+
"label": "0.0.0.0 to 127.255.255.255"
1321+
},
1322+
{
1323+
"input": {
1324+
"language": "kuery",
1325+
"query": "client.ip \u003e \"128.0.0.0\" and client.ip \u003c \"191.255.255.255\""
1326+
},
1327+
"label": "128.0.0.0 to 191.255.255.255"
1328+
}
1329+
]
1330+
},
1331+
"scale": "ordinal"
1332+
},
1333+
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b": {
1334+
"dataType": "number",
1335+
"isBucketed": false,
1336+
"label": "Count of records",
1337+
"operationType": "count",
1338+
"params": {
1339+
"emptyAsNull": true
1340+
},
1341+
"scale": "ratio",
1342+
"sourceField": "___records___"
1343+
},
1344+
"b0b1b2a4-6420-489a-acf1-3a98b67df744": {
1345+
"dataType": "date",
1346+
"isBucketed": true,
1347+
"label": "@timestamp",
1348+
"operationType": "date_histogram",
1349+
"params": {
1350+
"dropPartials": false,
1351+
"includeEmptyRows": false,
1352+
"interval": "auto"
1353+
},
1354+
"scale": "interval",
1355+
"sourceField": "@timestamp"
1356+
}
1357+
},
1358+
"ignoreGlobalFilters": false,
1359+
"incompleteColumns": {},
1360+
"sampling": 1
1361+
}
1362+
}
1363+
},
1364+
"indexpattern": {
1365+
"layers": {}
1366+
},
1367+
"textBased": {
1368+
"layers": {}
1369+
}
1370+
},
1371+
"filters": [],
1372+
"internalReferences": [],
1373+
"query": {
1374+
"language": "kuery",
1375+
"query": "data_stream.dataset: \"stan.log\" "
1376+
},
1377+
"visualization": {
1378+
"axisTitlesVisibilitySettings": {
1379+
"x": true,
1380+
"yLeft": true,
1381+
"yRight": true
1382+
},
1383+
"layers": [
1384+
{
1385+
"accessors": [
1386+
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b"
1387+
],
1388+
"layerId": "a6cffea3-fd32-4248-9e86-c68a17e09b89",
1389+
"layerType": "data",
1390+
"position": "top",
1391+
"seriesType": "line",
1392+
"showGridlines": false,
1393+
"splitAccessor": "0bdb5898-ef89-4767-8f62-98685f50d126",
1394+
"xAccessor": "b0b1b2a4-6420-489a-acf1-3a98b67df744"
1395+
}
1396+
],
1397+
"legend": {
1398+
"isVisible": true,
1399+
"legendSize": "large",
1400+
"position": "right"
1401+
},
1402+
"preferredSeriesType": "line",
1403+
"title": "Empty XY chart",
1404+
"valueLabels": "hide",
1405+
"valuesInLegend": true,
1406+
"yTitle": "Count"
1407+
}
1408+
},
1409+
"title": "",
1410+
"type": "lens",
1411+
"visualizationType": "lnsXY"
1412+
},
12871413
"enhancements": {},
12881414
"hidePanelTitles": false
12891415
},
12901416
"gridData": {
12911417
"h": 12,
1292-
"i": "9",
1293-
"w": 22,
1418+
"i": "8a7c8175-dd4d-4b1f-861c-ccf575c0ded0",
1419+
"w": 23,
12941420
"x": 25,
12951421
"y": 20
12961422
},
1297-
"panelIndex": "9",
1298-
"panelRefName": "panel_9",
1423+
"panelIndex": "8a7c8175-dd4d-4b1f-861c-ccf575c0ded0",
12991424
"title": "Client IP Count Timeline",
1300-
"type": "visualization",
1425+
"type": "lens",
13011426
"version": "8.10.2"
13021427
}
13031428
],
@@ -1306,7 +1431,7 @@
13061431
"version": 1
13071432
},
13081433
"coreMigrationVersion": "8.8.0",
1309-
"created_at": "2023-10-11T05:13:23.865Z",
1434+
"created_at": "2023-11-02T08:47:14.324Z",
13101435
"id": "stan-Logs-stan-overview",
13111436
"managed": false,
13121437
"references": [
@@ -1351,9 +1476,9 @@
13511476
"type": "index-pattern"
13521477
},
13531478
{
1354-
"id": "stan-c669ae20-41ed-11e9-ac5c-71ffa38a62e3",
1355-
"name": "9:panel_9",
1356-
"type": "visualization"
1479+
"id": "logs-*",
1480+
"name": "8a7c8175-dd4d-4b1f-861c-ccf575c0ded0:indexpattern-datasource-layer-a6cffea3-fd32-4248-9e86-c68a17e09b89",
1481+
"type": "index-pattern"
13571482
}
13581483
],
13591484
"type": "dashboard",

packages/stan/kibana/visualization/stan-c669ae20-41ed-11e9-ac5c-71ffa38a62e3.json

Lines changed: 0 additions & 150 deletions
This file was deleted.

packages/stan/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: stan
22
title: STAN
3-
version: 1.4.1
3+
version: 1.4.2
44
release: ga
55
description: Collect logs and metrics from STAN servers with Elastic Agent.
66
type: integration

0 commit comments

Comments
 (0)