Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Extract application logs from a gce virtual machine

Hello everyone , 

I want to extract application logs ( magento 2 in my case ) from a gce virtual machine.

Somebody can explain me how to do that , i tried to use the ops agent but he doesn't extract the application logs , only the instances , audit or user logs.

I hope someone could help me , i need this to analyse magento logs ( maybe with elasticsearch and kibana ) but i need in first to extract the logs from the virtual machine.

 

0 2 217