Skip to content

Commit

Permalink
add global level dashboard filter
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-elastic committed Apr 24, 2024
1 parent 122c0a1 commit 4e459d1
Show file tree
Hide file tree
Showing 12 changed files with 2,769 additions and 4,371 deletions.
5 changes: 5 additions & 0 deletions packages/activemq/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: 1.3.0
changes:
- description: Add dashboard level filter.
type: enhancement
link: https://github.com/elastic/integrations/pull/1 #Fix ME
- version: 1.2.1
changes:
- description: Add pipeline tests for Broker, Queue and Topic data streams.
Expand Down

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
@@ -1,10 +1,32 @@
{
"attributes": {
"description": "This dashboard shows audit logs collected by the ActiveMQ logs integration.",
"hits": 0,
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"filter": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"field": "data_stream.dataset",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"key": "data_stream.dataset",
"negate": false,
"params": {
"query": "activemq.audit"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"data_stream.dataset": "activemq.audit"
}
}
}
],
"query": {
"language": "kuery",
"query": ""
Expand All @@ -13,32 +35,26 @@
},
"optionsJSON": {
"hidePanelTitles": false,
"syncColors": false,
"syncCursor": true,
"syncTooltips": false,
"useMargins": true
},
"panelsJSON": [
{
"embeddableConfig": {
"attributes": {
"references": [
{
"id": "logs-*",
"name": "indexpattern-datasource-current-indexpattern",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "indexpattern-datasource-layer-97afd794-5fb8-4a7c-b42b-6893c8ba17a2",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "e5d9ec26-7d86-4df9-8ecd-47862f1f9932",
"type": "index-pattern"
}
],
"state": {
"adHocDataViews": {},
"datasourceStates": {
"indexpattern": {
"formBased": {
"layers": {
"97afd794-5fb8-4a7c-b42b-6893c8ba17a2": {
"columnOrder": [
Expand Down Expand Up @@ -100,29 +116,8 @@
}
}
},
"filters": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"index": "e5d9ec26-7d86-4df9-8ecd-47862f1f9932",
"key": "event.dataset",
"negate": false,
"params": {
"query": "activemq.audit"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"event.dataset": "activemq.audit"
}
}
}
],
"filters": [],
"internalReferences": [],
"query": {
"language": "kuery",
"query": ""
Expand Down Expand Up @@ -159,6 +154,7 @@
],
"legend": {
"isVisible": true,
"legendSize": "auto",
"position": "right",
"showSingleSeries": true
},
Expand All @@ -184,48 +180,22 @@
},
"panelIndex": "25ee5210-609e-4bad-b145-f3c1cd7d981c",
"title": "Audit Event Results [Logs ActiveMQ]",
"type": "lens",
"version": "8.2.0"
},
{
"embeddableConfig": {
"enhancements": {}
},
"gridData": {
"h": 23,
"i": "f2a1e6f8-cd1a-4fbd-a0b1-da4ee9db7c54",
"w": 48,
"x": 0,
"y": 15
},
"panelIndex": "f2a1e6f8-cd1a-4fbd-a0b1-da4ee9db7c54",
"panelRefName": "panel_f2a1e6f8-cd1a-4fbd-a0b1-da4ee9db7c54",
"type": "search",
"version": "8.2.0"
"type": "lens"
},
{
"embeddableConfig": {
"attributes": {
"references": [
{
"id": "logs-*",
"name": "indexpattern-datasource-current-indexpattern",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "indexpattern-datasource-layer-60f30f3b-cd6a-4b80-be6d-70333867f0d0",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "310394e7-ccf5-4fb3-82c9-268d5b38b5e2",
"type": "index-pattern"
}
],
"state": {
"adHocDataViews": {},
"datasourceStates": {
"indexpattern": {
"formBased": {
"layers": {
"60f30f3b-cd6a-4b80-be6d-70333867f0d0": {
"columnOrder": [
Expand Down Expand Up @@ -273,29 +243,8 @@
}
}
},
"filters": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"index": "310394e7-ccf5-4fb3-82c9-268d5b38b5e2",
"key": "event.dataset",
"negate": false,
"params": {
"query": "activemq.audit"
},
"type": "phrase"
},
"query": {
"match_phrase": {
"event.dataset": "activemq.audit"
}
}
}
],
"filters": [],
"internalReferences": [],
"query": {
"language": "kuery",
"query": ""
Expand Down Expand Up @@ -338,6 +287,7 @@
],
"legend": {
"isVisible": true,
"legendSize": "auto",
"position": "right"
},
"preferredSeriesType": "bar_horizontal",
Expand Down Expand Up @@ -366,55 +316,89 @@
},
"panelIndex": "b6ffb795-51c1-4268-80ce-2ba716d513e7",
"title": "Audit Account [Logs ActiveMQ]",
"type": "lens",
"version": "8.2.0"
"type": "lens"
},
{
"embeddableConfig": {
"attributes": {
"columns": [
"log.level",
"user.name",
"message"
],
"grid": {},
"hideChart": false,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"filter\":[],\"highlightAll\":true,\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\",\"query\":{\"language\":\"kuery\",\"query\":\"data_stream.dataset :\\\"activemq.audit\\\"\"},\"version\":true}"
},
"references": [
{
"id": "logs-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
},
{
"id": "fleet-managed-default",
"name": "tag-ref-fleet-managed-default",
"type": "tag"
},
{
"id": "fleet-pkg-activemq-default",
"name": "tag-ref-fleet-pkg-activemq-default",
"type": "tag"
}
],
"sort": [
[
"@timestamp",
"desc"
]
]
},
"enhancements": {}
},
"gridData": {
"h": 23,
"i": "7540ae0e-4036-434a-968d-e49fb960c304",
"w": 48,
"x": 0,
"y": 15
},
"panelIndex": "7540ae0e-4036-434a-968d-e49fb960c304",
"title": "Audit Events [Logs ActiveMQ]",
"type": "search"
}
],
"timeRestore": false,
"title": "[Logs ActiveMQ] Audit",
"version": 1
},
"coreMigrationVersion": "8.2.0",
"coreMigrationVersion": "8.8.0",
"created_at": "2024-04-10T15:20:50.795Z",
"id": "activemq-eac72840-f916-11ec-9736-016ee09668f5",
"migrationVersion": {
"dashboard": "8.2.0"
},
"managed": false,
"references": [
{
"id": "logs-*",
"name": "25ee5210-609e-4bad-b145-f3c1cd7d981c:indexpattern-datasource-current-indexpattern",
"name": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "25ee5210-609e-4bad-b145-f3c1cd7d981c:indexpattern-datasource-layer-97afd794-5fb8-4a7c-b42b-6893c8ba17a2",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "25ee5210-609e-4bad-b145-f3c1cd7d981c:e5d9ec26-7d86-4df9-8ecd-47862f1f9932",
"type": "index-pattern"
},
{
"id": "activemq-896ef3a0-145f-11ea-8fd8-030a13064883",
"name": "f2a1e6f8-cd1a-4fbd-a0b1-da4ee9db7c54:panel_f2a1e6f8-cd1a-4fbd-a0b1-da4ee9db7c54",
"type": "search"
},
{
"id": "logs-*",
"name": "b6ffb795-51c1-4268-80ce-2ba716d513e7:indexpattern-datasource-current-indexpattern",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "b6ffb795-51c1-4268-80ce-2ba716d513e7:indexpattern-datasource-layer-60f30f3b-cd6a-4b80-be6d-70333867f0d0",
"type": "index-pattern"
},
{
"id": "logs-*",
"name": "b6ffb795-51c1-4268-80ce-2ba716d513e7:310394e7-ccf5-4fb3-82c9-268d5b38b5e2",
"name": "7540ae0e-4036-434a-968d-e49fb960c304:kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
}
],
"type": "dashboard"
"type": "dashboard",
"typeMigrationVersion": "8.9.0"
}
Loading

0 comments on commit 4e459d1

Please sign in to comment.