rest api query format
-
Hi,
I'm trying to use rest api call: "POST /v1/events/query", but I do not know what is the query format. I want to filter and get only the critical events,
Thank You
-
Hi Radu,
It's probably easier for you to do this by using the GET /v1/events endpoint, since you can includes a URL parameter to do that filtering quite easily:
/v1/events?alarmLevel=CRITICAL&sort(-activeTimestamp)&limit(50)