We are trying to capture the following events through the mango REST API through its 'events-rest-controller' interface:
We have done tests with the endpoint '/v1/events', with which we have been able to capture the events.
We have also been able to capture executing several types of filters for this endpoint.
This, for example, is a query to the endpoint to filter by 'acknowledged':
This one is for filtering by 'active':
And this last is to filter by 'alarmLevel':
But when we try to filter by 'message', it does not show us any results, even though the filter has the same coincidence with the three events:
We tried to consult the endpoint '/v1/events/module-defined-query' but we do not understand it, and we have always had errors in the way we fill the body.
What we want to know is:
How to filter events by message.
How the endpoint '/v1/events/module-defined-query' works. We have already consulted the endpoint '/v1/events/explain-module-defined-queries', but we still do not understand it.
We also are trying with '/v1/events/query'. If you can supply us information about this endpoint, it would be helpful.
Beforehand thank you very much.