Skip to content

Commit 0884843

Browse files
[O11y][NATS] Migrate Client IP Count Timeline visualization to lens (#8383)
* migrate client ip count timeline` visualization to lens. * update changelog.yml
1 parent bcc84a8 commit 0884843

File tree

5 files changed

+138
-170
lines changed

5 files changed

+138
-170
lines changed

packages/nats/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.5.1"
3+
changes:
4+
- description: Migrate `Client IP Count Timeline` visualization to lens.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/8383
27
- version: "1.5.0"
38
changes:
49
- description: Enable time series data for metrics data streams. This dramatically reduces storage for metrics and is expected to progressively improve query [performance](https://www.elastic.co/blog/70-percent-storage-savings-for-metrics-with-elastic-observability). For more details, see https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html.
76.1 KB
Loading

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

Lines changed: 132 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,20 +1276,141 @@
12761276
},
12771277
{
12781278
"embeddableConfig": {
1279-
"enhancements": {},
1280-
"hidePanelTitles": false
1279+
"attributes": {
1280+
"references": [
1281+
{
1282+
"id": "logs-*",
1283+
"name": "indexpattern-datasource-layer-a6cffea3-fd32-4248-9e86-c68a17e09b89",
1284+
"type": "index-pattern"
1285+
}
1286+
],
1287+
"state": {
1288+
"adHocDataViews": {},
1289+
"datasourceStates": {
1290+
"formBased": {
1291+
"layers": {
1292+
"a6cffea3-fd32-4248-9e86-c68a17e09b89": {
1293+
"columnOrder": [
1294+
"0bdb5898-ef89-4767-8f62-98685f50d126",
1295+
"b0b1b2a4-6420-489a-acf1-3a98b67df744",
1296+
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b"
1297+
],
1298+
"columns": {
1299+
"0bdb5898-ef89-4767-8f62-98685f50d126": {
1300+
"dataType": "string",
1301+
"isBucketed": true,
1302+
"label": "Filters",
1303+
"operationType": "filters",
1304+
"params": {
1305+
"filters": [
1306+
{
1307+
"input": {
1308+
"language": "kuery",
1309+
"query": "client.ip \u003e\"0.0.0.0\" and client.ip \u003c \"127.255.255.255\""
1310+
},
1311+
"label": "0.0.0.0 to 127.255.255.255"
1312+
},
1313+
{
1314+
"input": {
1315+
"language": "kuery",
1316+
"query": "client.ip \u003e \"128.0.0.0\" and client.ip \u003c \"191.255.255.255\""
1317+
},
1318+
"label": "128.0.0.0 to 191.255.255.255"
1319+
}
1320+
]
1321+
},
1322+
"scale": "ordinal"
1323+
},
1324+
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b": {
1325+
"dataType": "number",
1326+
"isBucketed": false,
1327+
"label": "Count of records",
1328+
"operationType": "count",
1329+
"params": {
1330+
"emptyAsNull": true
1331+
},
1332+
"scale": "ratio",
1333+
"sourceField": "___records___"
1334+
},
1335+
"b0b1b2a4-6420-489a-acf1-3a98b67df744": {
1336+
"dataType": "date",
1337+
"isBucketed": true,
1338+
"label": "@timestamp",
1339+
"operationType": "date_histogram",
1340+
"params": {
1341+
"dropPartials": false,
1342+
"includeEmptyRows": false,
1343+
"interval": "auto"
1344+
},
1345+
"scale": "interval",
1346+
"sourceField": "@timestamp"
1347+
}
1348+
},
1349+
"ignoreGlobalFilters": false,
1350+
"incompleteColumns": {},
1351+
"sampling": 1
1352+
}
1353+
}
1354+
},
1355+
"indexpattern": {
1356+
"layers": {}
1357+
},
1358+
"textBased": {
1359+
"layers": {}
1360+
}
1361+
},
1362+
"filters": [],
1363+
"internalReferences": [],
1364+
"query": {
1365+
"language": "kuery",
1366+
"query": "data_stream.dataset: \"nats.log\" "
1367+
},
1368+
"visualization": {
1369+
"axisTitlesVisibilitySettings": {
1370+
"x": true,
1371+
"yLeft": true,
1372+
"yRight": true
1373+
},
1374+
"layers": [
1375+
{
1376+
"accessors": [
1377+
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b"
1378+
],
1379+
"layerId": "a6cffea3-fd32-4248-9e86-c68a17e09b89",
1380+
"layerType": "data",
1381+
"position": "top",
1382+
"seriesType": "line",
1383+
"showGridlines": false,
1384+
"splitAccessor": "0bdb5898-ef89-4767-8f62-98685f50d126",
1385+
"xAccessor": "b0b1b2a4-6420-489a-acf1-3a98b67df744"
1386+
}
1387+
],
1388+
"legend": {
1389+
"isVisible": true,
1390+
"legendSize": "large",
1391+
"position": "right"
1392+
},
1393+
"preferredSeriesType": "line",
1394+
"title": "Empty XY chart",
1395+
"valueLabels": "hide",
1396+
"valuesInLegend": true,
1397+
"yTitle": "Count"
1398+
}
1399+
},
1400+
"visualizationType": "lnsXY"
1401+
},
1402+
"enhancements": {}
12811403
},
12821404
"gridData": {
12831405
"h": 12,
1284-
"i": "9",
1285-
"w": 22,
1406+
"i": "a322788e-2ff3-4678-a3ae-a86791712fdf",
1407+
"w": 23,
12861408
"x": 25,
12871409
"y": 20
12881410
},
1289-
"panelIndex": "9",
1290-
"panelRefName": "panel_9",
1411+
"panelIndex": "a322788e-2ff3-4678-a3ae-a86791712fdf",
12911412
"title": "Client IP Count Timeline",
1292-
"type": "visualization",
1413+
"type": "lens",
12931414
"version": "8.10.2"
12941415
}
12951416
],
@@ -1298,7 +1419,7 @@
12981419
"version": 1
12991420
},
13001421
"coreMigrationVersion": "8.8.0",
1301-
"created_at": "2023-10-03T05:56:30.704Z",
1422+
"created_at": "2023-11-02T09:50:08.463Z",
13021423
"id": "nats-Logs-nats-overview",
13031424
"managed": false,
13041425
"references": [
@@ -1343,9 +1464,9 @@
13431464
"type": "index-pattern"
13441465
},
13451466
{
1346-
"id": "nats-c669ae20-41ed-11e9-ac5c-71ffa38a62e3",
1347-
"name": "9:panel_9",
1348-
"type": "visualization"
1467+
"id": "logs-*",
1468+
"name": "a322788e-2ff3-4678-a3ae-a86791712fdf:indexpattern-datasource-layer-a6cffea3-fd32-4248-9e86-c68a17e09b89",
1469+
"type": "index-pattern"
13491470
}
13501471
],
13511472
"type": "dashboard",

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

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

packages/nats/manifest.yml

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

0 commit comments

Comments
 (0)