Mayur Singal 4739aaa096
Fix #2905: Added MSSQL Usage Connector (#2948)
* Fix #2509: added mssql usage connector

* removed comment

* removed unused variables

* fixed code smell

* renamed sql variable
2022-02-24 01:01:03 +05:30

43 lines
858 B
JSON

{
"source": {
"type": "mssql-usage",
"config": {
"host_port": "localhost:1433",
"service_name": "local_mssql",
"database": "catalog_test",
"query": "select top 50 * from {}.{}",
"username": "sa",
"password": "test!Password",
"duration":2,
"table_filter_pattern": {
"excludes": ["catalog_test.*"]
}
}
},
"processor": {
"type": "query-parser",
"config": {
"filter": ""
}
},
"stage": {
"type": "table-usage",
"config": {
"filename": "/tmp/mssql_usage"
}
},
"bulk_sink": {
"type": "metadata-usage",
"config": {
"filename": "/tmp/mssql_usage"
}
},
"metadata_server": {
"type": "metadata-server",
"config": {
"api_endpoint": "http://localhost:8585/api",
"auth_provider_type": "no-auth"
}
}
}