/api/getEvents - How long does it take the NxWitness VMS to prepare Event Logs before they are ready to be received by 3rd party using HTTP?
AnsweredHi, we came across a situation where some of several log events have not been received by our integration from NxWitness VMS. We found that at first they were not included in the response to /api/getEvents. However, when we tried again at a later stage the events were included.
In the below snapshot the underlined event was not received using HTTP.
The below snapshot shows several events received from the VMS by our integration. The red line shows the place of the missing event from the above snapshot.
Does the VMS need some time to prepare the events? Are there any known issues and workarounds in this area?
-
Hello Mark,
First of all, api/getEvents method is a "single-server" request. To get full information about all events in your system you have to send it to every server if there are more than one. This information is stored locally, on every server own Events database.
Basically this is what Desktop Client does every time you open the Event Log.
Second thing. As mentioned, every server has its own unique Events database. So obviously if one of the server goes offline and does not respond to the request, you will be missing a significant part of the events.
-
Hi Sergey,
Thanks for your support. We are aware that events can be queried on a per server basis and at the time of testing for the above results the server was online. How much time does it take for the server events to be ready to be sent using HTTP from the time the event occurred?
-
Hi Marek,
Sorry for the delay.
> How much time does it take for the server events to be ready to be sent using HTTP from the time the event occurred?
The server will be able to display the event entry only after it is written to the physical events database file.
There is a ~10 seconds buffer from Live.
Please sign in to leave a comment.
Comments
3 comments