Is there an API to export logs for a monitor? V3.
Release : 99.0
1) https://example.broadcom.com/v3/#/log/log-get-event
2) Get monitor check status results
3) Get a single event
The Event ID is a date/time of the check on the monitor. To get this, you would have to
Use GET /log to get the monitor check results. At the top of the results (if successful) will be the Event ID
[
{
"id": "<id>",
"monitor": {
"id": "<id>",
"name": "<name>"
},
You then would use the GET /log/{id} and enter the ID from above as a parameter
To download the results, we only download it as a JSON file. Once downloaded, you can change the extension of the file to csv. Only caveat is that all the data will be in Column A. You would need an external tool to fully convert a JSON file to CSV.