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

How to get dataflow log by command line

Hi everyone

I have one question related to how to get log of stream-pipeline which is running in Dataflow by command line instead of UI. I have a certificate file to authenticate and work in Cloud service. But I do not have a username/password to log in UI interface. Therefore I cannot view Log created from Pipeline, I just have it right on command-line (using the certification to authenticate).

I try to some command such as  gcloud beta dataflow logs list <JOB_ID> --importance=detailed --verbosity=debug. But it does not show Log that I print in pipeline code as I expected. 

I have a question that Is there any way to get the log that I put in Pipeline by using command line or any others way?

Thank you!

0 1 1,650