mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-30 08:57:09 +00:00
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"source": {
|
|
"type": "query-log-usage",
|
|
"serviceName": "local_mysql",
|
|
"serviceConnection": {
|
|
"config": {
|
|
"type": "Mysql",
|
|
"username": "openmetadata_user",
|
|
"password": "openmetadata_password",
|
|
"hostPort": "localhost:3306",
|
|
"connectionOptions": {},
|
|
"connectionArguments": {}
|
|
}
|
|
},
|
|
"sourceConfig": {
|
|
"config": {
|
|
"queryLogDuration": "1",
|
|
"queryLogFilePath": "<path to query log file>"
|
|
}
|
|
}
|
|
},
|
|
"processor": {
|
|
"type": "query-parser",
|
|
"config": {
|
|
"filter": ""
|
|
}
|
|
},
|
|
"stage": {
|
|
"type": "table-usage",
|
|
"config": {
|
|
"filename": "/tmp/query_log_usage"
|
|
}
|
|
},
|
|
"bulkSink": {
|
|
"type": "metadata-usage",
|
|
"config": {
|
|
"filename": "/tmp/query_log_usage"
|
|
}
|
|
},
|
|
"workflowConfig": {
|
|
"openMetadataServerConfig": {
|
|
"hostPort": "http://localhost:8585/api",
|
|
"authProvider": "no-auth"
|
|
}
|
|
}
|
|
} |