2022-05-04 21:57:26 +02:00
|
|
|
source:
|
2022-09-15 22:23:54 +05:30
|
|
|
type: snowflake-usage-legacy
|
2022-05-04 21:57:26 +02:00
|
|
|
config:
|
|
|
|
# Coordinates
|
|
|
|
account_id: account_name
|
|
|
|
warehouse: "COMPUTE_WH"
|
|
|
|
|
|
|
|
# Credentials
|
|
|
|
username: "${SNOWFLAKE_USER}"
|
|
|
|
password: "${SNOWFLAKE_PASS}"
|
|
|
|
role: "datahub_role"
|
|
|
|
|
|
|
|
# Options
|
|
|
|
top_n_queries: 10
|
|
|
|
email_domain: mycompany.com
|
|
|
|
|
|
|
|
database_pattern:
|
|
|
|
allow:
|
|
|
|
- "^ACCOUNTING_DB$"
|
|
|
|
- "^MARKETING_DB$"
|
|
|
|
schema_pattern:
|
|
|
|
deny:
|
|
|
|
- "information_schema.*"
|
|
|
|
|
2022-09-13 16:40:59 -07:00
|
|
|
# Default sink is datahub-rest and doesn't need to be configured
|
|
|
|
# See https://datahubproject.io/docs/metadata-ingestion/sink_docs/datahub for customization options
|
|
|
|
|