31 lines
779 B
YAML
Raw Normal View History

source:
type: postgres-usage
serviceName: "<service name>"
serviceConnection:
config:
type: Postgres
username: openmetadata_user
password: openmetadata_password
hostPort: localhost:5432
database: <database username>
sourceConfig:
config:
queryLogDuration: "<query log duration integer>"
stageFileLocation: "<path to store the stage file>"
resultLimit: "<query log limit integer>"
processor:
type: query-parser
config: {}
stage:
type: table-usage
config:
filename: "/tmp/postgres_usage"
bulkSink:
type: metadata-usage
config:
filename: "/tmp/postgres_usage"
workflowConfig:
openMetadataServerConfig:
hostPort: "<OpenMetadata host and port>"
authProvider: "<OpenMetadata auth provider>"