{"id":18975065,"url":"https://github.com/bufferapp/dbt-bigquery-auditlog","last_synced_at":"2025-07-29T20:34:54.946Z","repository":{"id":146339861,"uuid":"235973723","full_name":"bufferapp/dbt-bigquery-auditlog","owner":"bufferapp","description":"Get an overview of all cost and performance data for your BigQuery project","archived":false,"fork":false,"pushed_at":"2020-06-11T08:31:46.000Z","size":9,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-26T05:13:59.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bufferapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-01-24T09:29:39.000Z","updated_at":"2023-05-14T20:50:12.000Z","dependencies_parsed_at":"2023-07-18T11:30:41.624Z","dependency_job_id":null,"html_url":"https://github.com/bufferapp/dbt-bigquery-auditlog","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bufferapp/dbt-bigquery-auditlog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fdbt-bigquery-auditlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fdbt-bigquery-auditlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fdbt-bigquery-auditlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fdbt-bigquery-auditlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufferapp","download_url":"https://codeload.github.com/bufferapp/dbt-bigquery-auditlog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2Fdbt-bigquery-auditlog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267754854,"owners_count":24139435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T15:17:14.411Z","updated_at":"2025-07-29T20:34:54.938Z","avatar_url":"https://github.com/bufferapp.png","language":null,"readme":"# BigQuery Auditlog\n\nGet an overview of all cost and performance data for your BigQuery project.\n\n## Getting Started\n\nTo use the logs from BigQuery we need to setup the [logging exports in GCP](https://cloud.google.com/bigquery/docs/reference/auditlogs/#overview).\n\n1. Go to Stackdriver Logging _Logs Viewer_\n2. Filter by `protoPayload.serviceName=\"bigquery.googleapis.com\"` and Submit Filter\n3. Click _Create Sink_, give it a name, select BigQuery as the destination and the output dataset. Check also the _Use Partitioned Tables_ option to improve performance and reduce costs in the long term.\n\nAlternatively, you can create a logging sink using Google Cloud SDK running this command.\n\n```bash\ngcloud beta logging sinks create \u003csink_name\u003e bigquery.googleapis.com/projects/\u003cproject-name\u003e/datasets/\u003cdataset-name\u003e --log-filter='protoPayload.serviceName=\"bigquery.googleapis.com\"'\n```\n\n### Installation\n\nInclude the following in your `packages.yml` file:\n\n```yml\npackages:\n  - git: \"https://github.com/bufferapp/dbt-bigquery-auditlog.git\"\n    revision: 1.0.1\n```\n\nRun `dbt deps` to install the package.\n\nAdd the source tables to your `dbt_project.yml`:\n\n```yml\nvars:\n  \"bigquery_auditlog_dataset.data_access\": TABLE\n  \"bigquery_auditlog_dataset.activity\": TABLE\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Fdbt-bigquery-auditlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufferapp%2Fdbt-bigquery-auditlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Fdbt-bigquery-auditlog/lists"}