is it possible to get DOWN events using clapi or rest api?
Every week I use the Event Logs to look for DOWN status and HARD ONLY type during the last 7 days. Looking at the documentation I’m not able to find how/if I can use clapi or rest API for that.
Regards,
Enrique
Page 1 / 1
hello
interesting question, as far as i know you cannot query the event log from api directly
Clapi is used to configure the platform, apiv1 can also get you realtime status, and api v2 returns you realtime status
in api v2 there is the possibility to query the “timeline” thoug, here is an example for a random host with this query