This article shows how to search for ActiveMQ Manager events using the REST API.
Search ActiveMQ Manager Events
GET /activemq/managers/{nodeName}/{managerName}/events
Search for ActiveMQ Manager events
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/managers/CMACTIVEMQ/Activemq-server/events' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Name | Type | Description |
|---|---|---|
eventType |
string | Event type (e.g., None, All, Manager, Alter, QMgr, Channel, Performance, Config, Command, Schedule, Bridge, Logger). |
timestamp |
int64 | Event timestamp (used to filter events created after the given time). |
limit |
int32 | Maximum number of results. |
attributes |
string | Comma-separated list of attributes or attribute sections to retrieve. |
validateAccessForUser |
string | Validate endpoint access for the user. |
Response Codes
200 OK – Returns matching event objects.
* – Error response.
Example Response
200 OK – Returns matching event objects.
[
{
"wgsName": "MQM",
"type": "Alter",
"eventNo": 888
},
{
"wgsName": "MQM",
"type": "Alter",
"eventNo": 709
},
{
"wgsName": "MQM",
"type": "Alter",
"eventNo": 576
}
]