Pere Miquel Brull 75a80d237b
Docs - Add all the YAML info and some other fixes (#6830)
Docs - Add all the YAML info and some other fixes (#6830)
2022-08-19 20:04:32 +02:00

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>"