2021-08-26 01:15:02 +05:30
|
|
|
{
|
|
|
|
|
"source": {
|
|
|
|
|
"type": "bigquery-usage",
|
2022-04-15 02:21:22 +05:30
|
|
|
"serviceName": "local_bigquery",
|
|
|
|
|
"serviceConnection": {
|
|
|
|
|
"config": {
|
|
|
|
|
"type": "BigQuery",
|
|
|
|
|
"enablePolicyTagImport": true,
|
2022-04-20 16:47:00 +05:30
|
|
|
"projectId":"project_id",
|
|
|
|
|
"credentials":{
|
|
|
|
|
"gcsConfig":{
|
|
|
|
|
"type":"service_account",
|
|
|
|
|
"projectId": "project_id",
|
|
|
|
|
"privateKeyId": "private_key_id",
|
|
|
|
|
"privateKey": "private_key",
|
|
|
|
|
"clientEmail": "gcpuser@project_id.iam.gserviceaccount.com",
|
|
|
|
|
"clientId": "client_id",
|
|
|
|
|
"authUri": "https://accounts.google.com/o/oauth2/auth",
|
|
|
|
|
"tokenUri": "https://oauth2.googleapis.com/token",
|
|
|
|
|
"authProviderX509CertUrl": "https://www.googleapis.com/oauth2/v1/certs",
|
|
|
|
|
"clientX509CertUrl": ""
|
2022-04-15 02:21:22 +05:30
|
|
|
}
|
|
|
|
|
}
|
2021-09-02 19:45:41 +05:30
|
|
|
}
|
2022-04-15 02:21:22 +05:30
|
|
|
},
|
|
|
|
|
"sourceConfig": {"config": {"queryLogDuration": "1"}}
|
2021-08-26 01:15:02 +05:30
|
|
|
},
|
|
|
|
|
"processor": {
|
|
|
|
|
"type": "query-parser",
|
|
|
|
|
"config": {
|
|
|
|
|
"filter": ""
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"stage": {
|
|
|
|
|
"type": "table-usage",
|
|
|
|
|
"config": {
|
|
|
|
|
"filename": "/tmp/bigquery_usage"
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-04-15 02:21:22 +05:30
|
|
|
"bulkSink": {
|
2021-08-26 01:15:02 +05:30
|
|
|
"type": "metadata-usage",
|
|
|
|
|
"config": {
|
2022-01-04 17:12:10 +05:30
|
|
|
"filename": "/tmp/bigquery_usage"
|
2021-08-26 01:15:02 +05:30
|
|
|
}
|
|
|
|
|
},
|
2022-04-15 02:21:22 +05:30
|
|
|
"workflowConfig": {
|
|
|
|
|
"openMetadataServerConfig": {
|
|
|
|
|
"hostPort": "http://localhost:8585/api",
|
|
|
|
|
"authProvider": "no-auth"
|
2021-08-26 01:15:02 +05:30
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|