I have a simple VM instance running on Google Compute Engine. I am running a docker container in attached mode so everytime I send a request I can see logs coming from the container in the ssh-in-browser terminal, like ...GET / HTTP1.1 200 OK etc.
What is the simplest way to enable showing those logs in the Google Logging? For now I can only see the logs from firewall (by default). But I cant find any way to see the logs coming directly from VM terminal that I can see when I connect to the VM.
I would want to see exact messages in google logging that I can see in the terminal for that VM.