teamdatatonic / looker-gcp-control Goto Github PK
View Code? Open in Web Editor NEWA Looker block for analysing Google Cloud Platform Billing and BigQuery data access logs
License: Other
A Looker block for analysing Google Cloud Platform Billing and BigQuery data access logs
License: Other
Otherwise it uses the pk which means since its unnesting over this key it throws key clash error.
I set it to sql distinct key to creditid and it looks right to me!?
Google introduced a new format for audit logs: the BigQueryAuditMetadata
as opposed to the older AuditData
format which is supported by the model of this block.
Google recommends to use the new format.
Please note that the table names used by the log sink when exporting the new logs and the old logs are the same (but the schema is different!), so if you want to keep both you will need to use separate datasets. :-(
Docs don't explain how to actually use the model files.
I already have a billing dashboard setup so I just want to get the BQ utilization stuff.
I see three different files that appear to be for this, how do I use them with looker?
Hi Team,
Just wanted to know if there is any GKE model view of looker ML. We are exploring Looker as an alternative that would connect to our GKE metering usage BQ dataset, so that we can build dashboards on the top of it. We have already explored GCP Billing part. Let me know if there is any datatonic template for GKE as well.
Thanks.
https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#data-schema
cloud_pricing_export is a new billing table that can land with the log sync. This deals with discounts applied (not credits) to your GCP billing, which has been a request from clients.
Help required to add this to the existing model, should anyone in the community wish to do this.
I tried setting this up but the current Stackdriver export doesn't seem to match what is here. I had to update my database naming convention to match:
x.y.cloudaudit_googleapis_com_activity_*
instead of:
x.y.cloudaudit_googleapis_com_data_access_*
Which is easy enough. Once updated though, I'm getting errors on the structures contained in the _payload.servicedata_v1_bigquery
nest.
Is this code potentially out of date with the current export format?
credit to gordonball for highlighting
GB usually refers to 10^9, with GiB meaning 2^30, but in Google’s docs they say: “Storage usage is calculated in gigabytes (GB), where 1 GB is 2^30 bytes. This unit of measurement is also known as a gibibyte (GiB)” which means according to Google, GB = GiB = 2^30
This means the cost is $5 per 240 bytes and not $5 per 1012 bytes
Fix iminent. Note this will change back dated costings too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.