2022-06-27 15:14:04 +02:00
|
|
|
source:
|
|
|
|
type: mssql-usage
|
|
|
|
serviceName: "<service name>"
|
|
|
|
serviceConnection:
|
|
|
|
config:
|
|
|
|
type: Mssql
|
2022-08-19 20:04:32 +02:00
|
|
|
username: <username>
|
|
|
|
password: <password>
|
|
|
|
hostPort: <hostPort>
|
|
|
|
# database: <database>
|
2022-06-27 15:14:04 +02:00
|
|
|
sourceConfig:
|
|
|
|
config:
|
2022-08-19 20:04:32 +02:00
|
|
|
# Number of days to look back
|
|
|
|
queryLogDuration: 7
|
|
|
|
# This is a directory that will be DELETED after the usage runs
|
|
|
|
stageFileLocation: <path to store the stage file>
|
|
|
|
# resultLimit: 1000
|
|
|
|
# If instead of getting the query logs from the database we want to pass a file with the queries
|
|
|
|
# queryLogFilePath: path-to-file
|
2022-06-27 15:14:04 +02:00
|
|
|
processor:
|
|
|
|
type: query-parser
|
2022-08-19 20:04:32 +02:00
|
|
|
config: {}
|
2022-06-27 15:14:04 +02:00
|
|
|
stage:
|
|
|
|
type: table-usage
|
|
|
|
config:
|
|
|
|
filename: "/tmp/mssql_usage"
|
|
|
|
bulkSink:
|
|
|
|
type: metadata-usage
|
|
|
|
config:
|
|
|
|
filename: "/tmp/mssql_usage"
|
|
|
|
workflowConfig:
|
|
|
|
openMetadataServerConfig:
|
|
|
|
hostPort: "<OpenMetadata host and port>"
|
|
|
|
authProvider: "<OpenMetadata auth provider>"
|