{"id":19944391,"url":"https://github.com/dataform-co/dataform-fivetran-log","last_synced_at":"2025-09-19T11:31:32.077Z","repository":{"id":81643262,"uuid":"298341382","full_name":"dataform-co/dataform-fivetran-log","owner":"dataform-co","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-22T09:21:23.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-13T00:21:08.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dataform-co.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}},"created_at":"2020-09-24T16:56:09.000Z","updated_at":"2022-06-07T15:57:49.000Z","dependencies_parsed_at":"2023-09-23T01:43:20.540Z","dependency_job_id":null,"html_url":"https://github.com/dataform-co/dataform-fivetran-log","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataform-co%2Fdataform-fivetran-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataform-co%2Fdataform-fivetran-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataform-co%2Fdataform-fivetran-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataform-co%2Fdataform-fivetran-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dataform-co","download_url":"https://codeload.github.com/dataform-co/dataform-fivetran-log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233566886,"owners_count":18695290,"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","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-13T00:20:29.171Z","updated_at":"2025-09-19T11:31:26.763Z","avatar_url":"https://github.com/dataform-co.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dataform-fivetran-log\n\nBETA package for transforming Fivetran Log data, which comes from a [free internal connector](https://fivetran.com/docs/logs/fivetran-log). An ERD of the source data is [here](https://docs.google.com/presentation/d/1lny-kFwJIvOCbKky3PEvEQas4oaHVVTahj3OTRONpu8/edit#slide=id.p). The package currently only supports a single destination.\n\nThis package helps you understand:\n* How you are spending money in Fivetran according to our [consumption-based pricing model](https://fivetran.com/docs/getting-started/consumption-based-pricing). We display consumption data at the table, connector, destination, and account levels.\n* How your data is flowing in Fivetran:\n    * Connector health and sync statuses\n    * Daily API calls\n\nThe package's main goals are to:\n* Create a history of measured monthly active rows (MAR), credit consumption, and the relationship between the two\n* Enhance the connector table with sync metrics and relevant alert messages\n* Enhance the transformation table with run metrics\n* Create a history of daily API calls for each connector\n* Union log data across destinations\n\n## Models\n\n| **model**                  | **description**                                                                                                                                               |\n| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| fivetran\\_log\\_connector\\_status        | Each record represents a connector loading data into a destination, enriched with data about the connector's status and the status of its data flow.                                          |\n| fivetran\\_log\\_mar\\_table\\_history     | Each record represents a table's active volume for a month, complete with data about its connector and destination.                             |\n| fivetran\\_log\\_credit\\_mar\\_history    | Each record represents a destination's consumption by showing its MAR, total credits used, and credits per millions MAR.                             |\n| fivetran\\_log\\_connector\\_daily_api\\_calls    | Each record represents a daily measurement of the API calls made by a connector, starting from the date on which the connector was set up.  \n\n## Installation\n\nAdd the package to your `package.json` file in your Dataform project. You can find the most up to package version on the [releases page](https://github.com/dataform-co/dataform-fivetran-log/releases).\n\n## Configure the package\n\nCreate a new JS file in your `definitions/` folder and create the Fivetran Log tables as in the following example.\n\nBy default, the package will run using the `fivetran_log` schema. If this is not where your Fivetran Log data is, you can override it when calling the package:\n\n```js\nconst fivetranLog = require(\"fivetran-log\");\n\nfivetranLog({\n  // The name of your fivetran log schema.\n  fivetranLogSchema: \"fivetran_log\",\n  // Default configuration applied to all produced datasets.\n  defaultConfig: {\n    schema: \"fivetran_log_package\",\n    tags: [\"fiveran_log_package\"],\n    type: \"view\"\n  },\n});\n```\n\n## Features not supported:\n - transformations\n - multiple destination databases\n\n## Supported warehouses:\n - BigQuery\n - Snowflake\n - Redshift\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdataform-co%2Fdataform-fivetran-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdataform-co%2Fdataform-fivetran-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdataform-co%2Fdataform-fivetran-log/lists"}