How do I forward the Rule Websocket to to a bucket?

I am currently using the real time websocket extension and I would like to forward the messages to Google Cloud Logs for monitoring. Is there a way to do this?