Skip to main content
Sumo Logic

Collect Logs and Metrics for ActiveMQ

This page provides instructions for configuring log and metric collection for the Sumo Logic App for ActiveMQ. 

Collection Process Overview

Configuring log and metric collection for the ActiveMQ App includes the following tasks:

Step 1: Configure Fields in Sumo Logic

Create the following Fields in Sumo Logic prior to configuring collection. This ensures that your logs and metrics are tagged with relevant metadata, which is required by the app dashboards. For information on setting up fields, see the Fields help page.

If you are using ActiveMQ in a non-Kubernetes environment create the fields:

  • component
  • environment
  • messaging_system
  • messaging_cluster
  • pod

If you are using ActiveMQ in a Kubernetes environment create the fields:

  • pod_labels_component
  • pod_labels_environment
  • pod_labels_messaging_system
  • pod_labels_messaging_cluster

Sample Log Message


      log:"2021-06-22 08:01:57,993 | DEBUG | Publishing: tcp://activemq-2:61616 for broker transport URI: tcp://activemq-2:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | | ActiveMQ Transport: tcp:///",


2021-06-22 15:00:41,922 | DEBUG | Stopping transport tcp:/// | org.apache.activemq.transport.tcp.TcpTransport | ActiveMQ BrokerService[localhost] Task-15300
Host: broker-3-activemq Name: /opt/activemq/data/activemq.log Category:logfile