Skip to content

Commit

Permalink
[O11y][MongoDB] Migrate Logs Overview dashboard visualizations to len…
Browse files Browse the repository at this point in the history
…s in kibana 8.1.0 (#5831)

* Migrate  dashboard visualizations to lens

* Update changelog
  • Loading branch information
rajvi-patel-22 authored Apr 11, 2023
1 parent 5b39ce6 commit a9a23c8
Show file tree
Hide file tree
Showing 7 changed files with 136 additions and 100 deletions.
5 changes: 5 additions & 0 deletions packages/mongodb/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: "1.8.0"
changes:
- description: Migrate `Logs Overview` dashboard visualizations to lens.
type: enhancement
link: https://github.com/elastic/integrations/pull/5831
- version: "1.7.0"
changes:
- description: Migrate `Metrics Overview` dashboard visualizations to lens.
Expand Down
Binary file modified packages/mongodb/img/filebeat-mongodb-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@
"darkTheme": false
},
"panelsJSON": [
{
"embeddableConfig": {},
"gridData": {
"h": 12,
"i": "1",
"w": 16,
"x": 0,
"y": 0
},
"panelIndex": "1",
"panelRefName": "panel_0",
"version": "7.3.0"
},
{
"embeddableConfig": {
"columns": [
Expand All @@ -39,6 +26,7 @@
"mongodb.log.context",
"message"
],
"enhancements": {},
"sort": [
"@timestamp",
"desc"
Expand All @@ -52,8 +40,9 @@
"y": 0
},
"panelIndex": "2",
"panelRefName": "panel_1",
"version": "7.3.0"
"panelRefName": "panel_2",
"type": "search",
"version": "8.1.0"
},
{
"embeddableConfig": {
Expand All @@ -64,6 +53,7 @@
"mongodb.log.context",
"message"
],
"enhancements": {},
"sort": [
"mongodb.log.timestamp",
"asc"
Expand All @@ -77,33 +67,144 @@
"y": 12
},
"panelIndex": "3",
"panelRefName": "panel_2",
"version": "7.3.0"
"panelRefName": "panel_3",
"type": "search",
"version": "8.1.0"
},
{
"embeddableConfig": {
"attributes": {
"references": [
{
"id": "logs-*",
"name": "indexpattern-datasource-current-indexpattern",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "indexpattern-datasource-layer-1b24032e-d5d1-486a-9722-73ee57f1af16",
"type": "index-pattern"
}
],
"state": {
"datasourceStates": {
"indexpattern": {
"layers": {
"1b24032e-d5d1-486a-9722-73ee57f1af16": {
"columnOrder": [
"a9b00096-3941-408c-86f1-d7f7aeaea864",
"d9fa1057-5a6f-4b9e-a169-c1f15e4a2e1a"
],
"columns": {
"a9b00096-3941-408c-86f1-d7f7aeaea864": {
"customLabel": true,
"dataType": "string",
"isBucketed": true,
"label": "Log severity",
"operationType": "terms",
"params": {
"missingBucket": false,
"orderBy": {
"columnId": "d9fa1057-5a6f-4b9e-a169-c1f15e4a2e1a",
"type": "column"
},
"orderDirection": "desc",
"otherBucket": false,
"size": 5
},
"scale": "ordinal",
"sourceField": "log.level"
},
"d9fa1057-5a6f-4b9e-a169-c1f15e4a2e1a": {
"customLabel": true,
"dataType": "number",
"isBucketed": false,
"label": "Count",
"operationType": "count",
"scale": "ratio",
"sourceField": "___records___"
}
},
"incompleteColumns": {}
}
}
}
},
"filters": [],
"query": {
"language": "kuery",
"query": "log.level: *"
},
"visualization": {
"layers": [
{
"categoryDisplay": "default",
"groups": [
"a9b00096-3941-408c-86f1-d7f7aeaea864"
],
"layerId": "1b24032e-d5d1-486a-9722-73ee57f1af16",
"layerType": "data",
"legendDisplay": "show",
"metric": "d9fa1057-5a6f-4b9e-a169-c1f15e4a2e1a",
"nestedLegend": false,
"numberDisplay": "percent"
}
],
"palette": {
"name": "kibana_palette",
"type": "palette"
},
"shape": "donut"
}
},
"title": "",
"type": "lens",
"visualizationType": "lnsPie"
},
"enhancements": {}
},
"gridData": {
"h": 12,
"i": "c04eb490-6120-49a7-a289-4c330689eb64",
"w": 16,
"x": 0,
"y": 0
},
"panelIndex": "c04eb490-6120-49a7-a289-4c330689eb64",
"title": "Logs Severity",
"type": "lens",
"version": "8.1.0"
}
],
"timeRestore": false,
"title": "[Logs MongoDB] Overview",
"version": 1
},
"coreMigrationVersion": "8.1.0",
"id": "mongodb-abcf35b0-0a82-11e8-bffe-ff7d4f68cf94",
"migrationVersion": {
"dashboard": "7.3.0"
"dashboard": "8.1.0"
},
"references": [
{
"id": "mongodb-0fef5710-0a82-11e8-bffe-ff7d4f68cf94",
"name": "panel_0",
"type": "visualization"
},
{
"id": "mongodb-e49fe000-0a7e-11e8-bffe-ff7d4f68cf94",
"name": "panel_1",
"name": "2:panel_2",
"type": "search"
},
{
"id": "mongodb-bfc96a60-0a80-11e8-bffe-ff7d4f68cf94",
"name": "panel_2",
"name": "3:panel_3",
"type": "search"
},
{
"id": "logs-*",
"name": "c04eb490-6120-49a7-a289-4c330689eb64:indexpattern-datasource-current-indexpattern",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "c04eb490-6120-49a7-a289-4c330689eb64:indexpattern-datasource-layer-1b24032e-d5d1-486a-9722-73ee57f1af16",
"type": "index-pattern"
}
],
"type": "dashboard"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@
"title": "All logs",
"version": 1
},
"coreMigrationVersion": "8.1.0",
"id": "mongodb-bfc96a60-0a80-11e8-bffe-ff7d4f68cf94",
"migrationVersion": {
"search": "7.4.0"
"search": "8.0.0"
},
"namespaces": [
"default"
],
"references": [
{
"id": "logs-*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@
"title": "Error logs",
"version": 1
},
"coreMigrationVersion": "8.1.0",
"id": "mongodb-e49fe000-0a7e-11e8-bffe-ff7d4f68cf94",
"migrationVersion": {
"search": "7.4.0"
"search": "8.0.0"
},
"namespaces": [
"default"
],
"references": [
{
"id": "logs-*",
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion packages/mongodb/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mongodb
title: MongoDB
version: 1.7.0
version: 1.8.0
description: Collect logs and metrics from MongoDB instances with Elastic Agent.
type: integration
categories:
Expand Down

0 comments on commit a9a23c8

Please sign in to comment.