LogoLogo
  • Preen
  • Getting Started
    • Installation
    • Hello World
      • Configuring Sources
      • Creating Models
  • Concepts
    • Overview
    • Sources
    • Models
    • Validation
  • Documentation
    • Config
      • Sources
      • Models
    • Integrations
      • Databases
        • Postgres
        • MySQL
        • MongoDB
      • Cloud Blob Storage
        • Amazon S3
      • File Formats
        • CSV
Powered by GitBook
On this page
  • Source Configuration Options
  • Source Connection Details
  • Code References
  1. Documentation
  2. Config

Sources

how to configure preen sources.

Preen sources are defined as a YAML file. The source file is used to define the data sources, the query to be executed, and the type of query to be executed.

Source Configuration Options

Option
Description
Required
Applicable Types

name

The unique name of the source

Yes

All

engine

The type of the source (e.g.database, file)

Yes

All

connection

The connection details for the source (e.g. database connection details)

Yes

All

models

The models to be used for the source

Yes

All

Source Connection Details

Option
Description

host

The host of the source

port

The port of the source

database

The database of the source

username

The username of the source

password

The password of the source

auth_source

The authentication source for MongoDB

bucket_name

The bucket name for AWS S3 models

region

The AWS region for S3 models

Code References

PreviousConfigNextModels

Last updated 7 months ago

sources.go