Skip to content

Commit

Permalink
add dashboard level filter for apache tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-elastic committed Apr 26, 2024
1 parent 4e459d1 commit 024d864
Show file tree
Hide file tree
Showing 15 changed files with 570 additions and 1,846 deletions.
5 changes: 5 additions & 0 deletions packages/apache_tomcat/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.5.0"
changes:
- description: Add global filter on data_stream.dataset to improve performance.
type: enhancement
link: https://github.com/elastic/integrations/pull/1 #Fix ME
- version: "1.4.0"
changes:
- description: Enable secrets for sensitive fields. For more details, refer https://www.elastic.co/guide/en/fleet/current/agent-policy.html#agent-policy-secret-values
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"meta": {
"alias": null,
"disabled": false,
"field": "event.dataset",
"field": "data_stream.dataset",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"key": "event.dataset",
"key": "data_stream.dataset",
"negate": false,
"params": {
"query": "apache_tomcat.cache"
Expand All @@ -28,7 +28,7 @@
},
"query": {
"match_phrase": {
"event.dataset": "apache_tomcat.cache"
"data_stream.dataset": "apache_tomcat.cache"
}
}
}
Expand Down Expand Up @@ -201,8 +201,7 @@
},
"panelIndex": "36ae155c-4005-4d73-b475-8988477e226d",
"title": "Cache size over time [Metrics Apache Tomcat]",
"type": "lens",
"version": "8.7.0"
"type": "lens"
},
{
"embeddableConfig": {
Expand Down Expand Up @@ -354,8 +353,7 @@
},
"panelIndex": "9f922f1f-c807-461d-894f-84236ab8cbd8",
"title": "Total requests processed through cache over time [Metrics Apache Tomcat]",
"type": "lens",
"version": "8.7.0"
"type": "lens"
},
{
"embeddableConfig": {
Expand Down Expand Up @@ -507,20 +505,17 @@
},
"panelIndex": "93820318-a84d-43c0-97a0-65731001cf06",
"title": "Total requests over time [Metrics Apache Tomcat]",
"type": "lens",
"version": "8.7.0"
"type": "lens"
}
],
"timeRestore": false,
"title": "[Metrics Apache Tomcat] Cache",
"version": 1
},
"coreMigrationVersion": "8.7.0",
"created_at": "2023-05-05T07:24:12.119Z",
"coreMigrationVersion": "8.8.0",
"created_at": "2024-04-13T09:03:38.064Z",
"id": "apache_tomcat-9f21d4e0-b837-11ed-8008-cf66df3fb6bf",
"migrationVersion": {
"dashboard": "8.7.0"
},
"managed": false,
"references": [
{
"id": "metrics-*",
Expand Down Expand Up @@ -553,5 +548,6 @@
"type": "index-pattern"
}
],
"type": "dashboard"
"type": "dashboard",
"typeMigrationVersion": "8.9.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"meta": {
"alias": null,
"disabled": false,
"field": "event.dataset",
"field": "data_stream.dataset",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"key": "event.dataset",
"key": "data_stream.dataset",
"negate": false,
"params": {
"query": "apache_tomcat.connection_pool"
Expand All @@ -28,7 +28,7 @@
},
"query": {
"match_phrase": {
"event.dataset": "apache_tomcat.connection_pool"
"data_stream.dataset": "apache_tomcat.connection_pool"
}
}
}
Expand All @@ -55,11 +55,6 @@
"id": "metrics-*",
"name": "indexpattern-datasource-layer-e325a4cc-4f13-45e6-ad1d-ab520a86078f",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "d754c647-0a3e-4949-b974-ae09a1bc847d",
"type": "index-pattern"
}
],
"state": {
Expand Down Expand Up @@ -129,30 +124,7 @@
"layers": {}
}
},
"filters": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"field": "event.dataset",
"index": "d754c647-0a3e-4949-b974-ae09a1bc847d",
"key": "event.dataset",
"negate": false,
"params": {
"query": "apache_tomcat.connection_pool"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"event.dataset": "apache_tomcat.connection_pool"
}
}
}
],
"filters": [],
"internalReferences": [],
"query": {
"language": "kuery",
Expand Down Expand Up @@ -220,8 +192,7 @@
},
"panelIndex": "8379c1c8-9392-4af4-a7f4-e625811a8f12",
"title": "Connections over time [Metrics Apache Tomcat]",
"type": "lens",
"version": "8.7.0"
"type": "lens"
},
{
"embeddableConfig": {
Expand All @@ -231,11 +202,6 @@
"id": "metrics-*",
"name": "indexpattern-datasource-layer-bf37fdfd-568b-4d88-8698-f487013d0e7a",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "c82a919f-342a-40fb-b752-e7d04fed8ff7",
"type": "index-pattern"
}
],
"state": {
Expand Down Expand Up @@ -274,30 +240,7 @@
"layers": {}
}
},
"filters": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"field": "event.dataset",
"index": "c82a919f-342a-40fb-b752-e7d04fed8ff7",
"key": "event.dataset",
"negate": false,
"params": {
"query": "apache_tomcat.connection_pool"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"event.dataset": "apache_tomcat.connection_pool"
}
}
}
],
"filters": [],
"internalReferences": [],
"query": {
"language": "kuery",
Expand Down Expand Up @@ -327,8 +270,7 @@
},
"panelIndex": "f170f694-3b15-4d7f-8d02-93721b07841a",
"title": "Active connections [Metrics Apache Tomcat]",
"type": "lens",
"version": "8.7.0"
"type": "lens"
},
{
"embeddableConfig": {
Expand All @@ -338,11 +280,6 @@
"id": "metrics-*",
"name": "indexpattern-datasource-layer-bf37fdfd-568b-4d88-8698-f487013d0e7a",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "18d6b810-b483-4c38-8003-439a9795566e",
"type": "index-pattern"
}
],
"state": {
Expand Down Expand Up @@ -381,30 +318,7 @@
"layers": {}
}
},
"filters": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"field": "event.dataset",
"index": "18d6b810-b483-4c38-8003-439a9795566e",
"key": "event.dataset",
"negate": false,
"params": {
"query": "apache_tomcat.connection_pool"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"event.dataset": "apache_tomcat.connection_pool"
}
}
}
],
"filters": [],
"internalReferences": [],
"query": {
"language": "kuery",
Expand Down Expand Up @@ -434,20 +348,17 @@
},
"panelIndex": "4ba1c352-1167-4214-a1e0-a8acb13e59aa",
"title": "Idle connections [Metrics Apache Tomcat]",
"type": "lens",
"version": "8.7.0"
"type": "lens"
}
],
"timeRestore": false,
"title": "[Metrics Apache Tomcat] Connection Pool",
"version": 1
},
"coreMigrationVersion": "8.7.0",
"created_at": "2023-06-30T05:14:49.407Z",
"coreMigrationVersion": "8.8.0",
"created_at": "2024-04-13T09:04:43.666Z",
"id": "apache_tomcat-af7759b0-0a75-11ee-a8d8-d15950a587f6",
"migrationVersion": {
"dashboard": "8.7.0"
},
"managed": false,
"references": [
{
"id": "metrics-*",
Expand All @@ -459,31 +370,16 @@
"name": "8379c1c8-9392-4af4-a7f4-e625811a8f12:indexpattern-datasource-layer-e325a4cc-4f13-45e6-ad1d-ab520a86078f",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "8379c1c8-9392-4af4-a7f4-e625811a8f12:d754c647-0a3e-4949-b974-ae09a1bc847d",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "f170f694-3b15-4d7f-8d02-93721b07841a:indexpattern-datasource-layer-bf37fdfd-568b-4d88-8698-f487013d0e7a",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "f170f694-3b15-4d7f-8d02-93721b07841a:c82a919f-342a-40fb-b752-e7d04fed8ff7",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "4ba1c352-1167-4214-a1e0-a8acb13e59aa:indexpattern-datasource-layer-bf37fdfd-568b-4d88-8698-f487013d0e7a",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "4ba1c352-1167-4214-a1e0-a8acb13e59aa:18d6b810-b483-4c38-8003-439a9795566e",
"type": "index-pattern"
},
{
"id": "metrics-*",
"name": "controlGroup_3503af0f-80d1-487e-8fa3-e470f20f9f8b:optionsListDataView",
Expand All @@ -495,5 +391,6 @@
"type": "index-pattern"
}
],
"type": "dashboard"
"type": "dashboard",
"typeMigrationVersion": "8.9.0"
}
Loading

0 comments on commit 024d864

Please sign in to comment.