mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-22 07:58:06 +00:00
35 lines
934 B
YAML
35 lines
934 B
YAML
source:
|
|
type: mssql-usage
|
|
serviceName: "<service name>"
|
|
serviceConnection:
|
|
config:
|
|
type: Mssql
|
|
username: <username>
|
|
password: <password>
|
|
hostPort: <hostPort>
|
|
# database: <database>
|
|
sourceConfig:
|
|
config:
|
|
# 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
|
|
processor:
|
|
type: query-parser
|
|
config: {}
|
|
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>"
|