Metering Websocket Usage based on time and size

Hi Team,

I have the websocket application, which is behind kong. Now I have to monitor the usage of websocket, the alive time. the start and end time for the particular consumer.
Could you please assists how can I get these details.


The HTTP log or any of the other logging plugins of Kong can capture the start and end time of the websocket connection, discussed a little bit here:

The thing to note is you won’t see individual tx’s or latency information about messages once connection is established. Hope that helps.