diff --git a/metricbeat/docs/images/metricbeat-activemq-broker-overview.png b/metricbeat/docs/images/metricbeat-activemq-broker-overview.png new file mode 100644 index 00000000000..847ba914979 Binary files /dev/null and b/metricbeat/docs/images/metricbeat-activemq-broker-overview.png differ diff --git a/metricbeat/docs/images/metricbeat-activemq-queues-overview.png b/metricbeat/docs/images/metricbeat-activemq-queues-overview.png new file mode 100644 index 00000000000..4f80189339d Binary files /dev/null and b/metricbeat/docs/images/metricbeat-activemq-queues-overview.png differ diff --git a/metricbeat/docs/images/metricbeat-activemq-topics-overview.png b/metricbeat/docs/images/metricbeat-activemq-topics-overview.png new file mode 100644 index 00000000000..d5cbdc6ae74 Binary files /dev/null and b/metricbeat/docs/images/metricbeat-activemq-topics-overview.png differ diff --git a/metricbeat/docs/modules/activemq.asciidoc b/metricbeat/docs/modules/activemq.asciidoc index 8f3e0551fd1..3bd03addf9c 100644 --- a/metricbeat/docs/modules/activemq.asciidoc +++ b/metricbeat/docs/modules/activemq.asciidoc @@ -35,6 +35,36 @@ metricbeat.modules: path: '/api/jolokia/?ignoreErrors=true&canonicalNaming=false' username: admin # default username password: admin # default password + processors: + - script: + lang: javascript + source: > + function process(event) { + var broker_memory_broker_pct = event.Get("activemq.broker.memory.broker.pct") + if (broker_memory_broker_pct != null) { + event.Put("activemq.broker.memory.broker.pct", broker_memory_broker_pct / 100.0) + } + + var broker_memory_temp_pct = event.Get("activemq.broker.memory.temp.pct") + if (broker_memory_temp_pct != null) { + event.Put("activemq.broker.memory.temp.pct", broker_memory_temp_pct / 100.0) + } + + var broker_memory_store_pct = event.Get("activemq.broker.memory.store.pct") + if (broker_memory_store_pct != null) { + event.Put("activemq.broker.memory.store.pct", broker_memory_store_pct / 100.0) + } + + var queue_memory_broker_pct = event.Get("activemq.queue.memory.broker.pct") + if (queue_memory_broker_pct != null) { + event.Put("activemq.queue.memory.broker.pct", queue_memory_broker_pct / 100.0) + } + + var topic_memory_broker_pct = event.Get("activemq.topic.memory.broker.pct") + if (topic_memory_broker_pct != null) { + event.Put("activemq.topic.memory.broker.pct", topic_memory_broker_pct / 100.0) + } + } ---- [float] diff --git a/metricbeat/docs/modules_list.asciidoc b/metricbeat/docs/modules_list.asciidoc index 46c3dbebfba..cf2abf9cbc4 100644 --- a/metricbeat/docs/modules_list.asciidoc +++ b/metricbeat/docs/modules_list.asciidoc @@ -5,7 +5,7 @@ This file is generated! See scripts/mage/docs_collector.go [options="header"] |=== |Modules |Dashboards |Metricsets -|<> beta[] |image:./images/icon-no.png[No prebuilt dashboards] | +|<> beta[] |image:./images/icon-yes.png[Prebuilt dashboards are available] | .3+| .3+| |<> beta[] |<> beta[] |<> beta[] diff --git a/x-pack/metricbeat/metricbeat.reference.yml b/x-pack/metricbeat/metricbeat.reference.yml index 3c4b8bbcaba..ee62a879c76 100644 --- a/x-pack/metricbeat/metricbeat.reference.yml +++ b/x-pack/metricbeat/metricbeat.reference.yml @@ -139,6 +139,36 @@ metricbeat.modules: path: '/api/jolokia/?ignoreErrors=true&canonicalNaming=false' username: admin # default username password: admin # default password + processors: + - script: + lang: javascript + source: > + function process(event) { + var broker_memory_broker_pct = event.Get("activemq.broker.memory.broker.pct") + if (broker_memory_broker_pct != null) { + event.Put("activemq.broker.memory.broker.pct", broker_memory_broker_pct / 100.0) + } + + var broker_memory_temp_pct = event.Get("activemq.broker.memory.temp.pct") + if (broker_memory_temp_pct != null) { + event.Put("activemq.broker.memory.temp.pct", broker_memory_temp_pct / 100.0) + } + + var broker_memory_store_pct = event.Get("activemq.broker.memory.store.pct") + if (broker_memory_store_pct != null) { + event.Put("activemq.broker.memory.store.pct", broker_memory_store_pct / 100.0) + } + + var queue_memory_broker_pct = event.Get("activemq.queue.memory.broker.pct") + if (queue_memory_broker_pct != null) { + event.Put("activemq.queue.memory.broker.pct", queue_memory_broker_pct / 100.0) + } + + var topic_memory_broker_pct = event.Get("activemq.topic.memory.broker.pct") + if (topic_memory_broker_pct != null) { + event.Put("activemq.topic.memory.broker.pct", topic_memory_broker_pct / 100.0) + } + } #------------------------------ Aerospike Module ------------------------------ - module: aerospike diff --git a/x-pack/metricbeat/module/activemq/_meta/config.yml b/x-pack/metricbeat/module/activemq/_meta/config.yml index 08791c5dc06..cddafae3352 100644 --- a/x-pack/metricbeat/module/activemq/_meta/config.yml +++ b/x-pack/metricbeat/module/activemq/_meta/config.yml @@ -5,3 +5,33 @@ path: '/api/jolokia/?ignoreErrors=true&canonicalNaming=false' username: admin # default username password: admin # default password + processors: + - script: + lang: javascript + source: > + function process(event) { + var broker_memory_broker_pct = event.Get("activemq.broker.memory.broker.pct") + if (broker_memory_broker_pct != null) { + event.Put("activemq.broker.memory.broker.pct", broker_memory_broker_pct / 100.0) + } + + var broker_memory_temp_pct = event.Get("activemq.broker.memory.temp.pct") + if (broker_memory_temp_pct != null) { + event.Put("activemq.broker.memory.temp.pct", broker_memory_temp_pct / 100.0) + } + + var broker_memory_store_pct = event.Get("activemq.broker.memory.store.pct") + if (broker_memory_store_pct != null) { + event.Put("activemq.broker.memory.store.pct", broker_memory_store_pct / 100.0) + } + + var queue_memory_broker_pct = event.Get("activemq.queue.memory.broker.pct") + if (queue_memory_broker_pct != null) { + event.Put("activemq.queue.memory.broker.pct", queue_memory_broker_pct / 100.0) + } + + var topic_memory_broker_pct = event.Get("activemq.topic.memory.broker.pct") + if (topic_memory_broker_pct != null) { + event.Put("activemq.topic.memory.broker.pct", topic_memory_broker_pct / 100.0) + } + } diff --git a/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-broker-overview.json b/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-broker-overview.json new file mode 100644 index 00000000000..917ccaf9c2d --- /dev/null +++ b/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-broker-overview.json @@ -0,0 +1,908 @@ +{ + "objects": [ + { + "attributes": { + "description": "The dashboard presents metric data describing ActiveMQ broker. Metrics show statistics of enqueued and dequeued messages, consumers, producers and memory usage (broker, store, temp).", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "cd2b33a6-3c4c-4d97-9cfb-7c6e47f248dc", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "cd2b33a6-3c4c-4d97-9cfb-7c6e47f248dc", + "panelRefName": "panel_0", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "dc086d82-511a-45e3-b20e-6eef48e22ee1", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "dc086d82-511a-45e3-b20e-6eef48e22ee1", + "panelRefName": "panel_1", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "84a09081-449a-44f8-bc43-7119730dc74b", + "w": 24, + "x": 0, + "y": 15 + }, + "panelIndex": "84a09081-449a-44f8-bc43-7119730dc74b", + "panelRefName": "panel_2", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 5, + "i": "e5e43ead-2ed5-4290-86f3-5dd623500f87", + "w": 24, + "x": 24, + "y": 15 + }, + "panelIndex": "e5e43ead-2ed5-4290-86f3-5dd623500f87", + "panelRefName": "panel_3", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 5, + "i": "f891ea87-7718-4820-a0dc-21b160c1e684", + "w": 24, + "x": 24, + "y": 20 + }, + "panelIndex": "f891ea87-7718-4820-a0dc-21b160c1e684", + "panelRefName": "panel_4", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 5, + "i": "54a788b6-5ede-4217-a975-ba6bc57f5274", + "w": 24, + "x": 24, + "y": 25 + }, + "panelIndex": "54a788b6-5ede-4217-a975-ba6bc57f5274", + "panelRefName": "panel_5", + "version": "7.4.0" + } + ], + "timeRestore": false, + "title": "[Metricbeat ActiveMQ] Broker Overview", + "version": 1 + }, + "id": "fc27a270-0b95-11ea-81bb-cf244189d349", + "migrationVersion": { + "dashboard": "7.3.0" + }, + "references": [ + { + "id": "55cacee0-0ba7-11ea-81bb-cf244189d349", + "name": "panel_0", + "type": "visualization" + }, + { + "id": "ce456e60-0b99-11ea-81bb-cf244189d349", + "name": "panel_1", + "type": "visualization" + }, + { + "id": "33cbfa60-0b95-11ea-81bb-cf244189d349", + "name": "panel_2", + "type": "visualization" + }, + { + "id": "594db510-0b9c-11ea-81bb-cf244189d349", + "name": "panel_3", + "type": "visualization" + }, + { + "id": "bfad8290-0d22-11ea-ba76-7fb26815d86c", + "name": "panel_4", + "type": "visualization" + }, + { + "id": "cb475400-0d22-11ea-ba76-7fb26815d86c", + "name": "panel_5", + "type": "visualization" + } + ], + "type": "dashboard", + "updated_at": "2019-11-22T12:26:00.404Z", + "version": "WzUxOSwyXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Broker Messages [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "bar_color_rules": [ + { + "id": "aa435ec0-0ba6-11ea-b0d5-191f327f6941" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "legend_position": "bottom", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Dequeue", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.messages.dequeue.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "03adf430-0ba6-11ea-b0d5-191f327f6941", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(115,216,255,1)", + "fill": 0.5, + "formatter": "number", + "id": "149ece90-0ba6-11ea-b0d5-191f327f6941", + "label": "Enqueue", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.messages.enqueue.count", + "id": "149ef5a0-0ba6-11ea-b0d5-191f327f6941", + "type": "max" + }, + { + "field": "149ef5a0-0ba6-11ea-b0d5-191f327f6941", + "id": "149ef5a1-0ba6-11ea-b0d5-191f327f6941", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,196,0,1)", + "fill": 0.5, + "formatter": "number", + "id": "39964ed0-0ba6-11ea-b0d5-191f327f6941", + "label": "Count", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.messages.enqueue.count", + "id": "39964ed1-0ba6-11ea-b0d5-191f327f6941", + "type": "max" + }, + { + "field": "39964ed1-0ba6-11ea-b0d5-191f327f6941", + "id": "8920b440-0ba6-11ea-b0d5-191f327f6941", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Broker Messages [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "55cacee0-0ba7-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:08.894Z", + "version": "WzQzOCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Broker Consumers/Producers [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "annotations": [], + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "background_color_rules": [ + { + "id": "60dba290-0b99-11ea-8e0f-4970006b3ce7" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "legend_position": "bottom", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Consumers", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.consumers.count", + "id": "50a86850-0b98-11ea-8e0f-4970006b3ce7", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "terms_field": "activemq.broker.name", + "type": "timeseries" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(65,157,247,1)", + "fill": 0.5, + "formatter": "number", + "id": "9a1e6840-0b98-11ea-8e0f-4970006b3ce7", + "label": "Producers", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.producers.count", + "id": "9a1e6841-0b98-11ea-8e0f-4970006b3ce7", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "terms_field": "activemq.broker.name", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Broker Consumers/Producers [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "ce456e60-0b99-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:08.894Z", + "version": "WzQzOSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Broker Connections [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "background_color_rules": [ + { + "id": "178caf70-0b95-11ea-81df-8dc66a02be3a" + } + ], + "bar_color_rules": [ + { + "id": "1996d750-0b95-11ea-81df-8dc66a02be3a" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "gauge_color_rules": [ + { + "id": "1a5bd500-0b95-11ea-81df-8dc66a02be3a" + } + ], + "gauge_inner_width": 10, + "gauge_style": "half", + "gauge_width": 10, + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "legend_position": "bottom", + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Connections", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.connections.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "90525b80-0ba4-11ea-8c5c-257c67a7a008", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_filters": [ + { + "color": "#68BC00", + "filter": { + "language": "kuery", + "query": "" + }, + "id": "b1b376f0-0b96-11ea-81df-8dc66a02be3a", + "label": "" + } + ], + "split_mode": "everything", + "stacked": "none", + "terms_field": "activemq.broker.name", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Broker Connections [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "33cbfa60-0b95-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:08.894Z", + "version": "WzQ0MCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Broker Memory Usage [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_position": "left", + "axis_scale": "normal", + "background_color_rules": [ + { + "id": "a19e8b60-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "bar_color_rules": [ + { + "id": "f6955680-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "gauge_color_rules": [ + { + "id": "9acca240-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "gauge_inner_width": 10, + "gauge_max": "1", + "gauge_style": "half", + "gauge_width": 10, + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,220,0,1)", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "percent", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Broker Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.broker.pct", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries", + "value_template": "" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,204,202,1)", + "fill": 0.5, + "formatter": "number", + "id": "7716c9c0-0b9b-11ea-8e0f-4970006b3ce7", + "label": "Store Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.store.pct", + "id": "7716c9c1-0b9b-11ea-8e0f-4970006b3ce7", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(174,161,255,1)", + "fill": 0.5, + "formatter": "number", + "id": "13799400-0b9c-11ea-8e0f-4970006b3ce7", + "label": "Temp Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.temp.pct", + "id": "13799401-0b9c-11ea-8e0f-4970006b3ce7", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "gauge" + }, + "title": "Broker Memory Usage [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "594db510-0b9c-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-22T15:29:57.883Z", + "version": "WzUzOSwyXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Broker Temp Memory Usage [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_position": "left", + "axis_scale": "normal", + "background_color_rules": [ + { + "id": "a19e8b60-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "bar_color_rules": [ + { + "id": "f6955680-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "gauge_color_rules": [ + { + "id": "9acca240-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "gauge_inner_width": 10, + "gauge_max": "1", + "gauge_style": "half", + "gauge_width": 10, + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,220,0,1)", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "percent", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Temp Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.temp.pct", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries", + "value_template": "" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,204,202,1)", + "fill": 0.5, + "formatter": "number", + "id": "7716c9c0-0b9b-11ea-8e0f-4970006b3ce7", + "label": "Store Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.store.pct", + "id": "7716c9c1-0b9b-11ea-8e0f-4970006b3ce7", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(174,161,255,1)", + "fill": 0.5, + "formatter": "number", + "id": "13799400-0b9c-11ea-8e0f-4970006b3ce7", + "label": "Temp Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.temp.pct", + "id": "13799401-0b9c-11ea-8e0f-4970006b3ce7", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "gauge" + }, + "title": "Broker Temp Memory Usage [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "bfad8290-0d22-11ea-ba76-7fb26815d86c", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-22T15:30:29.667Z", + "version": "WzU0MSwyXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Broker Store Memory Usage [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_position": "left", + "axis_scale": "normal", + "background_color_rules": [ + { + "id": "a19e8b60-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "bar_color_rules": [ + { + "id": "f6955680-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "gauge_color_rules": [ + { + "id": "9acca240-0b9b-11ea-8e0f-4970006b3ce7" + } + ], + "gauge_inner_width": 10, + "gauge_max": "1", + "gauge_style": "half", + "gauge_width": 10, + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(252,220,0,1)", + "fill": 0.5, + "filter": { + "language": "kuery", + "query": "" + }, + "formatter": "percent", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Store Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.store.pct", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries", + "value_template": "" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,204,202,1)", + "fill": 0.5, + "formatter": "number", + "id": "7716c9c0-0b9b-11ea-8e0f-4970006b3ce7", + "label": "Store Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.store.pct", + "id": "7716c9c1-0b9b-11ea-8e0f-4970006b3ce7", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none", + "type": "timeseries" + }, + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(174,161,255,1)", + "fill": 0.5, + "formatter": "number", + "id": "13799400-0b9c-11ea-8e0f-4970006b3ce7", + "label": "Temp Memory", + "line_width": 1, + "metrics": [ + { + "field": "activemq.broker.memory.temp.pct", + "id": "13799401-0b9c-11ea-8e0f-4970006b3ce7", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "everything", + "stacked": "none" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "gauge" + }, + "title": "Broker Store Memory Usage [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "cb475400-0d22-11ea-ba76-7fb26815d86c", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-22T15:30:59.820Z", + "version": "WzU0MywyXQ==" + } + ], + "version": "7.4.0" +} diff --git a/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-queues-overview.json b/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-queues-overview.json new file mode 100644 index 00000000000..2b10633599c --- /dev/null +++ b/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-queues-overview.json @@ -0,0 +1,788 @@ +{ + "objects": [ + { + "attributes": { + "description": "The dashboard presents metric data describing ActiveMQ queues. Metrics show statistics of exchanged messages, consumers, producers and memory usage.", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "446c6be8-61e2-4c9c-9bfa-8da8879db215", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "446c6be8-61e2-4c9c-9bfa-8da8879db215", + "panelRefName": "panel_0", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "85158251-14d2-4100-9ce2-1eea4885adf6", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "85158251-14d2-4100-9ce2-1eea4885adf6", + "panelRefName": "panel_1", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "e0104818-b373-4a20-990a-aa7558522e9e", + "w": 24, + "x": 0, + "y": 15 + }, + "panelIndex": "e0104818-b373-4a20-990a-aa7558522e9e", + "panelRefName": "panel_2", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "7b83ee6f-cd69-4748-80c5-305fdf49b9d0", + "w": 24, + "x": 24, + "y": 15 + }, + "panelIndex": "7b83ee6f-cd69-4748-80c5-305fdf49b9d0", + "panelRefName": "panel_3", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "b2cfe5e4-f220-480e-91fa-4088484eda17", + "w": 24, + "x": 0, + "y": 30 + }, + "panelIndex": "b2cfe5e4-f220-480e-91fa-4088484eda17", + "panelRefName": "panel_4", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "5f4b107c-94d0-4bdb-be30-b3cd26257658", + "w": 24, + "x": 24, + "y": 30 + }, + "panelIndex": "5f4b107c-94d0-4bdb-be30-b3cd26257658", + "panelRefName": "panel_5", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "b5a5ea30-c313-4c80-8e28-2894f292d779", + "w": 24, + "x": 0, + "y": 45 + }, + "panelIndex": "b5a5ea30-c313-4c80-8e28-2894f292d779", + "panelRefName": "panel_6", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "4a004976-426b-445e-9ecf-1f9964074523", + "w": 24, + "x": 24, + "y": 45 + }, + "panelIndex": "4a004976-426b-445e-9ecf-1f9964074523", + "panelRefName": "panel_7", + "version": "7.4.0" + } + ], + "timeRestore": false, + "title": "[Metricbeat ActiveMQ] Queues Overview", + "version": 1 + }, + "id": "a8160560-0bd0-11ea-81bb-cf244189d349", + "migrationVersion": { + "dashboard": "7.3.0" + }, + "references": [ + { + "id": "ad2d4960-0bd4-11ea-81bb-cf244189d349", + "name": "panel_0", + "type": "visualization" + }, + { + "id": "00e33010-0bd5-11ea-81bb-cf244189d349", + "name": "panel_1", + "type": "visualization" + }, + { + "id": "4a93ef10-0bd5-11ea-81bb-cf244189d349", + "name": "panel_2", + "type": "visualization" + }, + { + "id": "fab93e30-0bbd-11ea-81bb-cf244189d349", + "name": "panel_3", + "type": "visualization" + }, + { + "id": "99f41030-0bd5-11ea-81bb-cf244189d349", + "name": "panel_4", + "type": "visualization" + }, + { + "id": "55cc9840-0bd6-11ea-81bb-cf244189d349", + "name": "panel_5", + "type": "visualization" + }, + { + "id": "8599cea0-0c2e-11ea-81bb-cf244189d349", + "name": "panel_6", + "type": "visualization" + }, + { + "id": "a8ac8950-0c2e-11ea-81bb-cf244189d349", + "name": "panel_7", + "type": "visualization" + } + ], + "type": "dashboard", + "updated_at": "2019-11-21T13:34:09.899Z", + "version": "WzQ0MiwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Queues Messages Dequeue [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Dequeue", + "line_width": 1, + "metrics": [ + { + "field": "activemq.queue.messages.dequeue.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.queue.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Queues Messages Dequeue [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "ad2d4960-0bd4-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:09.899Z", + "version": "WzQ0MywxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Queues Messages Enqueue [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(115,216,255,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Enqueue", + "line_width": 1, + "metrics": [ + { + "field": "activemq.queue.messages.enqueue.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.queue.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Queues Messages Enqueue [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "00e33010-0bd5-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:09.899Z", + "version": "WzQ0NCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Queues Messages Dispatch [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,204,202,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Dispatch", + "line_width": 1, + "metrics": [ + { + "field": "activemq.queue.messages.dispatch.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.queue.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Queues Messages Dispatch [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "4a93ef10-0bd5-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:09.899Z", + "version": "WzQ0NSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Queues Messages Expired [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(174,161,255,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Expired", + "line_width": 1, + "metrics": [ + { + "field": "activemq.queue.messages.expired.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.queue.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Queues Messages Expired [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "fab93e30-0bbd-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:09.899Z", + "version": "WzQ0NiwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Queues Messages In-flight [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,49,21,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "In-flight", + "line_width": 1, + "metrics": [ + { + "field": "activemq.queue.messages.inflight.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.queue.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Queues Messages In-flight [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "99f41030-0bd5-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:09.899Z", + "version": "WzQ0NywxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Queues Messages Enqueue Time [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(226,115,0,1)", + "fill": 0.5, + "formatter": "ms,ms,", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Equeue", + "line_width": 1, + "metrics": [ + { + "field": "activemq.queue.messages.enqueue.time.avg", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "avg" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.queue.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Queues Messages Enqueue Time [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "55cc9840-0bd6-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-22T12:43:58.984Z", + "version": "WzUzMCwyXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Queues Consumers [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,188,0,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Consumers", + "line_width": 1, + "metrics": [ + { + "field": "activemq.queue.consumers.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.queue.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Queues Consumers [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "8599cea0-0c2e-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:09.899Z", + "version": "WzQ0OSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Queues Producers [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(0,156,224,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Producers", + "line_width": 1, + "metrics": [ + { + "field": "activemq.queue.producers.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.queue.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Queues Producers [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "a8ac8950-0c2e-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:09.899Z", + "version": "WzQ1MCwxXQ==" + } + ], + "version": "7.4.0" +} diff --git a/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-topics-overview.json b/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-topics-overview.json new file mode 100644 index 00000000000..cf7424e4ba3 --- /dev/null +++ b/x-pack/metricbeat/module/activemq/_meta/kibana/7/dashboard/metricbeat-activemq-topics-overview.json @@ -0,0 +1,788 @@ +{ + "objects": [ + { + "attributes": { + "description": "The dashboard presents metric data describing ActiveMQ topics. Metrics show statistics of exchanged messages, consumers, producers and memory usage.", + "hits": 0, + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "optionsJSON": { + "hidePanelTitles": false, + "useMargins": true + }, + "panelsJSON": [ + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "099a7d74-8287-4717-b1d1-77f7ed2b67d0", + "w": 24, + "x": 0, + "y": 0 + }, + "panelIndex": "099a7d74-8287-4717-b1d1-77f7ed2b67d0", + "panelRefName": "panel_0", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "c22e6794-6c79-4f2d-b942-f4a4bb73948e", + "w": 24, + "x": 24, + "y": 0 + }, + "panelIndex": "c22e6794-6c79-4f2d-b942-f4a4bb73948e", + "panelRefName": "panel_1", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "adb64a5b-bfe9-4225-a712-f51ad30cab9d", + "w": 24, + "x": 0, + "y": 15 + }, + "panelIndex": "adb64a5b-bfe9-4225-a712-f51ad30cab9d", + "panelRefName": "panel_2", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "09ea3c98-d808-4c5f-9d04-7a94fd3cc2c8", + "w": 24, + "x": 24, + "y": 30 + }, + "panelIndex": "09ea3c98-d808-4c5f-9d04-7a94fd3cc2c8", + "panelRefName": "panel_3", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "43902672-df24-4be2-beb5-34961f190b5c", + "w": 24, + "x": 0, + "y": 30 + }, + "panelIndex": "43902672-df24-4be2-beb5-34961f190b5c", + "panelRefName": "panel_4", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "ddce0ec5-f393-4479-a8a9-e1c7ffc339cb", + "w": 24, + "x": 24, + "y": 45 + }, + "panelIndex": "ddce0ec5-f393-4479-a8a9-e1c7ffc339cb", + "panelRefName": "panel_5", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "c591ef68-9215-49de-a548-30196faa31bd", + "w": 24, + "x": 0, + "y": 45 + }, + "panelIndex": "c591ef68-9215-49de-a548-30196faa31bd", + "panelRefName": "panel_6", + "version": "7.4.0" + }, + { + "embeddableConfig": {}, + "gridData": { + "h": 15, + "i": "88a65079-a0b4-49c7-abbe-6e181c5dbbc3", + "w": 24, + "x": 24, + "y": 15 + }, + "panelIndex": "88a65079-a0b4-49c7-abbe-6e181c5dbbc3", + "panelRefName": "panel_7", + "version": "7.4.0" + } + ], + "timeRestore": false, + "title": "[Metricbeat ActiveMQ] Topics Overview", + "version": 1 + }, + "id": "d97b7520-0bbe-11ea-81bb-cf244189d349", + "migrationVersion": { + "dashboard": "7.3.0" + }, + "references": [ + { + "id": "a85c09b0-0bbd-11ea-81bb-cf244189d349", + "name": "panel_0", + "type": "visualization" + }, + { + "id": "e91f2b80-0bbd-11ea-81bb-cf244189d349", + "name": "panel_1", + "type": "visualization" + }, + { + "id": "d22e5e00-0bbd-11ea-81bb-cf244189d349", + "name": "panel_2", + "type": "visualization" + }, + { + "id": "8ae8aa90-0bc8-11ea-81bb-cf244189d349", + "name": "panel_3", + "type": "visualization" + }, + { + "id": "21fb23a0-0bbe-11ea-81bb-cf244189d349", + "name": "panel_4", + "type": "visualization" + }, + { + "id": "89de30b0-0bce-11ea-81bb-cf244189d349", + "name": "panel_5", + "type": "visualization" + }, + { + "id": "e73c2af0-0bce-11ea-81bb-cf244189d349", + "name": "panel_6", + "type": "visualization" + }, + { + "id": "3db29790-0bd7-11ea-81bb-cf244189d349", + "name": "panel_7", + "type": "visualization" + } + ], + "type": "dashboard", + "updated_at": "2019-11-21T13:34:10.940Z", + "version": "WzQ1MSwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Topics Messages Dequeue [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "#68BC00", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Dequeue", + "line_width": 1, + "metrics": [ + { + "field": "activemq.topic.messages.dequeue.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.topic.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Topics Messages Dequeue [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "a85c09b0-0bbd-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:10.940Z", + "version": "WzQ1MiwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Topics Messages Enqueue [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(115,216,255,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Enqueue", + "line_width": 1, + "metrics": [ + { + "field": "activemq.topic.messages.enqueue.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.topic.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Topics Messages Enqueue [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "e91f2b80-0bbd-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:10.940Z", + "version": "WzQ1MywxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Topics Messages Dispatch [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,204,202,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Dispatch", + "line_width": 1, + "metrics": [ + { + "field": "activemq.topic.messages.dispatch.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.topic.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Topics Messages Dispatch [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "d22e5e00-0bbd-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:10.940Z", + "version": "WzQ1NCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Topics Messages Enqueue Time [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(226,115,0,1)", + "fill": 0.5, + "formatter": "ms,ms,", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "", + "line_width": 1, + "metrics": [ + { + "field": "activemq.topic.messages.enqueue.time.avg", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "avg" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.topic.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Topics Messages Enqueue Time [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "8ae8aa90-0bc8-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-22T12:42:45.591Z", + "version": "WzUyNiwyXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Topics Messages In-flight [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(211,49,21,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "In-flight", + "line_width": 1, + "metrics": [ + { + "field": "activemq.topic.messages.inflight.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.topic.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Topics Messages In-flight [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "21fb23a0-0bbe-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:10.940Z", + "version": "WzQ1NiwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Topics Producers [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(0,156,224,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Producers", + "line_width": 1, + "metrics": [ + { + "field": "activemq.topic.producers.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.topic.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Topics Producers [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "89de30b0-0bce-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:10.940Z", + "version": "WzQ1NywxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Topics Consumers [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(104,188,0,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Consumers", + "line_width": 1, + "metrics": [ + { + "field": "activemq.topic.consumers.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.topic.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Topics Consumers [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "e73c2af0-0bce-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:10.940Z", + "version": "WzQ1OCwxXQ==" + }, + { + "attributes": { + "description": "", + "kibanaSavedObjectMeta": { + "searchSourceJSON": { + "filter": [], + "query": { + "language": "kuery", + "query": "" + } + } + }, + "title": "Topics Messages Expired [Metricbeat ActiveMQ]", + "uiStateJSON": {}, + "version": 1, + "visState": { + "aggs": [], + "params": { + "axis_formatter": "number", + "axis_min": "0", + "axis_position": "left", + "axis_scale": "normal", + "default_index_pattern": "metricbeat-*", + "default_timefield": "@timestamp", + "id": "61ca57f0-469d-11e7-af02-69e470af7417", + "index_pattern": "", + "interval": "", + "isModelInvalid": false, + "series": [ + { + "axis_position": "right", + "chart_type": "line", + "color": "rgba(174,161,255,1)", + "fill": 0.5, + "formatter": "number", + "id": "61ca57f1-469d-11e7-af02-69e470af7417", + "label": "Expired", + "line_width": 1, + "metrics": [ + { + "field": "activemq.topic.messages.expired.count", + "id": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "max" + }, + { + "field": "61ca57f2-469d-11e7-af02-69e470af7417", + "id": "4f39bd50-0bbd-11ea-b87b-6d4c24968040", + "type": "derivative", + "unit": "" + } + ], + "point_size": 1, + "separate_axis": 0, + "split_mode": "terms", + "stacked": "none", + "terms_field": "activemq.topic.name", + "terms_order_by": "61ca57f2-469d-11e7-af02-69e470af7417", + "type": "timeseries" + } + ], + "show_grid": 1, + "show_legend": 1, + "time_field": "", + "type": "timeseries" + }, + "title": "Topics Messages Expired [Metricbeat ActiveMQ]", + "type": "metrics" + } + }, + "id": "3db29790-0bd7-11ea-81bb-cf244189d349", + "migrationVersion": { + "visualization": "7.3.1" + }, + "references": [], + "type": "visualization", + "updated_at": "2019-11-21T13:34:10.940Z", + "version": "WzQ1OSwxXQ==" + } + ], + "version": "7.4.0" +} diff --git a/x-pack/metricbeat/module/activemq/broker/_meta/docs.asciidoc b/x-pack/metricbeat/module/activemq/broker/_meta/docs.asciidoc index b4e18b30f1a..65996f687ed 100644 --- a/x-pack/metricbeat/module/activemq/broker/_meta/docs.asciidoc +++ b/x-pack/metricbeat/module/activemq/broker/_meta/docs.asciidoc @@ -6,3 +6,7 @@ and exchanged messages. To collect data, the module communicates with a Jolokia HTTP/REST endpoint that exposes the JMX metrics over HTTP/REST/JSON (JMX key: `org.apache.activemq:brokerName=*,type=Broker`). + +The broker metricset comes with a predefined dashboard: + +image::./images/metricbeat-activemq-broker-overview.png[] diff --git a/x-pack/metricbeat/module/activemq/queue/_meta/docs.asciidoc b/x-pack/metricbeat/module/activemq/queue/_meta/docs.asciidoc index 542dd718bb4..8306487eb9d 100644 --- a/x-pack/metricbeat/module/activemq/queue/_meta/docs.asciidoc +++ b/x-pack/metricbeat/module/activemq/queue/_meta/docs.asciidoc @@ -6,3 +6,7 @@ connected consumers, producers and its current length. To collect data, the module communicates with a Jolokia HTTP/REST endpoint that exposes the JMX metrics over HTTP/REST/JSON (JMX key: `org.apache.activemq:brokerName=localhost,destinationName=sample_queue,destinationType=Queue,type=Broker`). + +The queue metricset comes with a predefined dashboard: + +image::./images/metricbeat-activemq-queues-overview.png[] diff --git a/x-pack/metricbeat/module/activemq/topic/_meta/docs.asciidoc b/x-pack/metricbeat/module/activemq/topic/_meta/docs.asciidoc index 9dace116f97..b9a1446e46d 100644 --- a/x-pack/metricbeat/module/activemq/topic/_meta/docs.asciidoc +++ b/x-pack/metricbeat/module/activemq/topic/_meta/docs.asciidoc @@ -6,3 +6,7 @@ connected consumers and producers. To collect data, the module communicates with a Jolokia HTTP/REST endpoint that exposes the JMX metrics over HTTP/REST/JSON (JMX key: `org.apache.activemq:brokerName=localhost,destinationName=sample_queue,destinationType=Queue,type=Broker`). + +The topic metricset comes with a predefined dashboard: + +image::./images/metricbeat-activemq-topics-overview.png[] diff --git a/x-pack/metricbeat/modules.d/activemq.yml.disabled b/x-pack/metricbeat/modules.d/activemq.yml.disabled index 33716db01c9..8759b7cbe52 100644 --- a/x-pack/metricbeat/modules.d/activemq.yml.disabled +++ b/x-pack/metricbeat/modules.d/activemq.yml.disabled @@ -8,3 +8,33 @@ path: '/api/jolokia/?ignoreErrors=true&canonicalNaming=false' username: admin # default username password: admin # default password + processors: + - script: + lang: javascript + source: > + function process(event) { + var broker_memory_broker_pct = event.Get("activemq.broker.memory.broker.pct") + if (broker_memory_broker_pct != null) { + event.Put("activemq.broker.memory.broker.pct", broker_memory_broker_pct / 100.0) + } + + var broker_memory_temp_pct = event.Get("activemq.broker.memory.temp.pct") + if (broker_memory_temp_pct != null) { + event.Put("activemq.broker.memory.temp.pct", broker_memory_temp_pct / 100.0) + } + + var broker_memory_store_pct = event.Get("activemq.broker.memory.store.pct") + if (broker_memory_store_pct != null) { + event.Put("activemq.broker.memory.store.pct", broker_memory_store_pct / 100.0) + } + + var queue_memory_broker_pct = event.Get("activemq.queue.memory.broker.pct") + if (queue_memory_broker_pct != null) { + event.Put("activemq.queue.memory.broker.pct", queue_memory_broker_pct / 100.0) + } + + var topic_memory_broker_pct = event.Get("activemq.topic.memory.broker.pct") + if (topic_memory_broker_pct != null) { + event.Put("activemq.topic.memory.broker.pct", topic_memory_broker_pct / 100.0) + } + }