Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[O11y][NATS] Migrate Client IP Count Timeline visualization to lens #8383

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/nats/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.5.1"
changes:
- description: Migrate `Client IP Count Timeline` visualization to lens.
type: enhancement
link: https://github.com/elastic/integrations/pull/8383
- version: "1.5.0"
changes:
- 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.
Expand Down
Binary file modified packages/nats/img/filebeat_nats_dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
143 changes: 132 additions & 11 deletions packages/nats/kibana/dashboard/nats-Logs-nats-overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -1276,20 +1276,141 @@
},
{
"embeddableConfig": {
"enhancements": {},
"hidePanelTitles": false
"attributes": {
"references": [
{
"id": "logs-*",
"name": "indexpattern-datasource-layer-a6cffea3-fd32-4248-9e86-c68a17e09b89",
"type": "index-pattern"
}
],
"state": {
"adHocDataViews": {},
"datasourceStates": {
"formBased": {
"layers": {
"a6cffea3-fd32-4248-9e86-c68a17e09b89": {
"columnOrder": [
"0bdb5898-ef89-4767-8f62-98685f50d126",
"b0b1b2a4-6420-489a-acf1-3a98b67df744",
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b"
],
"columns": {
"0bdb5898-ef89-4767-8f62-98685f50d126": {
"dataType": "string",
"isBucketed": true,
"label": "Filters",
"operationType": "filters",
"params": {
"filters": [
{
"input": {
"language": "kuery",
"query": "client.ip \u003e\"0.0.0.0\" and client.ip \u003c \"127.255.255.255\""
},
"label": "0.0.0.0 to 127.255.255.255"
},
{
"input": {
"language": "kuery",
"query": "client.ip \u003e \"128.0.0.0\" and client.ip \u003c \"191.255.255.255\""
},
"label": "128.0.0.0 to 191.255.255.255"
}
]
},
"scale": "ordinal"
},
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b": {
"dataType": "number",
"isBucketed": false,
"label": "Count of records",
"operationType": "count",
"params": {
"emptyAsNull": true
},
"scale": "ratio",
"sourceField": "___records___"
},
"b0b1b2a4-6420-489a-acf1-3a98b67df744": {
"dataType": "date",
"isBucketed": true,
"label": "@timestamp",
"operationType": "date_histogram",
"params": {
"dropPartials": false,
"includeEmptyRows": false,
"interval": "auto"
},
"scale": "interval",
"sourceField": "@timestamp"
}
},
"ignoreGlobalFilters": false,
"incompleteColumns": {},
"sampling": 1
}
}
},
"indexpattern": {
"layers": {}
},
"textBased": {
"layers": {}
}
},
"filters": [],
"internalReferences": [],
"query": {
"language": "kuery",
"query": "data_stream.dataset: \"nats.log\" "
},
"visualization": {
"axisTitlesVisibilitySettings": {
"x": true,
"yLeft": true,
"yRight": true
},
"layers": [
{
"accessors": [
"30f64fc1-9c19-4d04-b06c-55c2f8a6771b"
],
"layerId": "a6cffea3-fd32-4248-9e86-c68a17e09b89",
"layerType": "data",
"position": "top",
"seriesType": "line",
"showGridlines": false,
"splitAccessor": "0bdb5898-ef89-4767-8f62-98685f50d126",
"xAccessor": "b0b1b2a4-6420-489a-acf1-3a98b67df744"
}
],
"legend": {
"isVisible": true,
"legendSize": "large",
"position": "right"
},
"preferredSeriesType": "line",
"title": "Empty XY chart",
"valueLabels": "hide",
"valuesInLegend": true,
"yTitle": "Count"
}
},
"visualizationType": "lnsXY"
},
"enhancements": {}
},
"gridData": {
"h": 12,
"i": "9",
"w": 22,
"i": "a322788e-2ff3-4678-a3ae-a86791712fdf",
"w": 23,
"x": 25,
"y": 20
},
"panelIndex": "9",
"panelRefName": "panel_9",
"panelIndex": "a322788e-2ff3-4678-a3ae-a86791712fdf",
"title": "Client IP Count Timeline",
"type": "visualization",
"type": "lens",
"version": "8.10.2"
}
],
Expand All @@ -1298,7 +1419,7 @@
"version": 1
},
"coreMigrationVersion": "8.8.0",
"created_at": "2023-10-03T05:56:30.704Z",
"created_at": "2023-11-02T09:50:08.463Z",
"id": "nats-Logs-nats-overview",
"managed": false,
"references": [
Expand Down Expand Up @@ -1343,9 +1464,9 @@
"type": "index-pattern"
},
{
"id": "nats-c669ae20-41ed-11e9-ac5c-71ffa38a62e3",
"name": "9:panel_9",
"type": "visualization"
"id": "logs-*",
"name": "a322788e-2ff3-4678-a3ae-a86791712fdf:indexpattern-datasource-layer-a6cffea3-fd32-4248-9e86-c68a17e09b89",
"type": "index-pattern"
}
],
"type": "dashboard",
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion packages/nats/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: nats
title: NATS
version: 1.5.0
version: 1.5.1
release: ga
description: Collect logs and metrics from NATS servers with Elastic Agent.
type: integration
Expand Down