I am interested in automating the download of the event logs in the XML format so that I can extract the data and out into a database. An example of downloading the logs via the API would be greatly appreciated.
2 comments
-
Lyndon Have you read through the soap apis that are posted and you're having problems? Or, are you looking for a way to get started?
-
Jonathan Evason Hi Lyndon,
I realise that this is an old post but I have managed to get further with the getting the logs via the Web API.
I have essentially called in the Web Service and I am able to create an instance of the Client, Open a connection and retrive logs for a given device (I am currently getting this by serial).
When using the method GetDeviceLogReports I can supply get a limited number of logs I I use the following parameters
PagedDeviceLogReportList logs = client.GetDeviceLogReports(device.Id, DeviceLogType.Event, "", 12000);
(This is C# code).
The number of logs is limited and I can see that there are more on the Web UI than what get's retrieved here.
Can somebody explain what the marker parameter takes (currently is "") and what the page number actually dictates in terms of what is returned.