Mayur Singal fd521763d4
Fix #4590: Usage through query log file (#4719)
* Usage through query log file

* Pick fileds if available in file

* Created Usage Souce
2022-05-09 11:37:52 +02:00

46 lines
898 B
JSON

{
"source": {
"type": "mssql-usage",
"serviceName": "local_mssql",
"serviceConnection": {
"config": {
"type": "Mssql",
"database": "catalog_test",
"username": "sa",
"password": "test!Password",
"hostPort": "localhost:1433"
}
},
"sourceConfig": {
"config": {
"queryLogDuration": "1",
"queryLogFilePath": "<path to query log file>"
}
}
},
"processor": {
"type": "query-parser",
"config": {
"filter": ""
}
},
"stage": {
"type": "table-usage",
"config": {
"filename": "/tmp/mssql_usage"
}
},
"bulkSink": {
"type": "metadata-usage",
"config": {
"filename": "/tmp/mssql_usage"
}
},
"workflowConfig": {
"openMetadataServerConfig": {
"hostPort": "http://localhost:8585/api",
"authProvider": "no-auth"
}
}
}