2022-04-20 16:47:00 +05:30

53 lines
1.3 KiB
JSON

{
"source": {
"type": "bigquery-usage",
"serviceName": "local_bigquery",
"serviceConnection": {
"config": {
"type": "BigQuery",
"enablePolicyTagImport": true,
"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": ""
}
}
}
},
"sourceConfig": {"config": {"queryLogDuration": "1"}}
},
"processor": {
"type": "query-parser",
"config": {
"filter": ""
}
},
"stage": {
"type": "table-usage",
"config": {
"filename": "/tmp/bigquery_usage"
}
},
"bulkSink": {
"type": "metadata-usage",
"config": {
"filename": "/tmp/bigquery_usage"
}
},
"workflowConfig": {
"openMetadataServerConfig": {
"hostPort": "http://localhost:8585/api",
"authProvider": "no-auth"
}
}
}