2021-08-01 14:27:44 -07:00
|
|
|
{
|
|
|
|
|
"source": {
|
|
|
|
|
"type": "redshift-usage",
|
|
|
|
|
"config": {
|
2021-08-09 09:19:35 +05:30
|
|
|
"host_port": "cluster.name.region.redshift.amazonaws.com:5439",
|
|
|
|
|
"username": "username",
|
|
|
|
|
"password": "strong_password",
|
2021-08-01 14:27:44 -07:00
|
|
|
"database": "warehouse",
|
|
|
|
|
"where_clause": "and q.label != 'metrics' and q.label != 'health' and q.label != 'cmstats'",
|
|
|
|
|
"service_name": "aws_redshift",
|
|
|
|
|
"duration": 2
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"processor": {
|
|
|
|
|
"type": "query-parser",
|
|
|
|
|
"config": {
|
|
|
|
|
"filter": ""
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"stage": {
|
2021-08-14 00:09:51 +05:30
|
|
|
"type": "table-usage",
|
2021-08-01 14:27:44 -07:00
|
|
|
"config": {
|
|
|
|
|
"filename": "/tmp/redshift_usage"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"bulk_sink": {
|
|
|
|
|
"type": "metadata-usage",
|
|
|
|
|
"config": {
|
2022-01-04 17:12:10 +05:30
|
|
|
"filename": "/tmp/redshift_usage"
|
2021-08-01 14:27:44 -07:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"metadata_server": {
|
|
|
|
|
"type": "metadata-server",
|
|
|
|
|
"config": {
|
|
|
|
|
"api_endpoint": "http://localhost:8585/api",
|
|
|
|
|
"auth_provider_type": "no-auth"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|