Open harnish-elastic opened 10 months ago
Any updates here?
@lalit-satapathy, I have performed analysis on ActiveMQ Artemis,
I have found 3 important Mbeans for the metrics data that can give us metrics.
Mbean 1: org.apache.activemq.artemis:broker=*
Mbean 2: org.apache.activemq.artemis:broker=*,component=*,address=*
Mbean 3: org.apache.activemq.artemis:broker=*,component=*,address=*,subcomponent=*,routing-type=*,queue=*
However, the existing integration (classic version) has different metrics from the Artemis version.
I also, performed metrics data collection with the existing activemq module. However, I can see 2-3 metrics from each data stream that are being collected by only changing mbeans from the Artemis instance!
Log patterns are different from the classic version. Please refer the below examples.
Classic audit logs example:
INFO | guest requested /admin/purgeDestination.action [JMSDestination='test' JMSDestinationType='queue' secret='eff6a932-1b58-45da-a64a-1b30b246cfc9' ] from 127.0.0.1 | qtp12205619-36
Artemis audit logs example:
2023-12-20 15:04:58,681 [AUDIT](qtp1238568047-69) AMQ601135: User admin(amq)@0.0.0.0:51209 is listing network topology on target resource: ActiveMQServerImpl::name=0.0.0.0
Currently working on preparing the analysis doc.
@lalit-satapathy, I have performed analysis on ActiveMQ Artemis,
Metrics
I have found 3 important Mbeans for the metrics data that can give us metrics.
Mbean 1:
org.apache.activemq.artemis:broker=*
Mbean 2:org.apache.activemq.artemis:broker=*,component=*,address=*
Mbean 3:org.apache.activemq.artemis:broker=*,component=*,address=*,subcomponent=*,routing-type=*,queue=*
However, the existing integration (classic version) has different metrics from the Artemis version.
I also, performed metrics data collection with the existing activemq module. However, I can see 2-3 metrics from each data stream that are being collected by only changing mbeans from the Artemis instance!
Logs
Log patterns are different from the classic version. Please refer the below examples.
Classic audit logs example:
INFO | guest requested /admin/purgeDestination.action [JMSDestination='test' JMSDestinationType='queue' secret='eff6a932-1b58-45da-a64a-1b30b246cfc9' ] from 127.0.0.1 | qtp12205619-36
Artemis audit logs example:
2023-12-20 15:04:58,681 [AUDIT](qtp1238568047-69) AMQ601135: User admin(amq)@0.0.0.0:51209 is listing network topology on target resource: ActiveMQServerImpl::name=0.0.0.0
Currently working on preparing the analysis doc.
@harnish-elastic - Thanks for the analysis!
Jolokia
input module the ActiveMQ data can be processed. Further testing will be done on this.
Currently, Elastic integration only supports
ActiveMQ Classic
. Need to analyzeActiveMQ Artemis
and check whether we can support Artemis in the current integration itself!