课程: Google Cloud Professional Machine Learning Engineer Cert Prep

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Demo: Querying logging output with BigQuery

Demo: Querying logging output with BigQuery

Let's dive into how to use BigQuery with logs. This is really a killer feature of the Google Cloud platform here. You can see you can do queries here, obviously, and dive into different things. For example, if I want to look at the Kubernetes container, I could click on it, do some queries, et cetera. But there's actually an even slicker way to do this, which is if we go over to Log router and I go ahead and I create a sink. Here, the sink could actually have as a destination BigQuery. So I've already set that up. You can see here, it's right here, this BigQuery dataset. So all I need to do is actually go over to BigQuery itself and try it out. So let's go ahead and go to BigQuery. Here we go. And what happens with BigQuery is that you can see my project is now included as a dataset. And if we go into testlogs, we can actually look at all the different logs that have been sent inside of here. So for example, if I wanted…

内容