PostgreSQL

Load event data into PostgreSQL for reliable, feature-rich relational database storage.

Configuration

FieldTypeRequiredDescription
hoststringYesThe PostgreSQL server hostname.
portstringYesThe PostgreSQL server port. Defaults to 5432.
databasestringYesThe target database name.
schema_namestringYesThe schema to write to. Defaults to public.
table_namestringYesThe target table name to insert rows into.
usernamestringYesThe database username for authentication.
passwordsecretYesThe database password for authentication.
ssl_modeselectNoThe SSL mode for the connection. Defaults to require.

Quick Setup

  1. Navigate to Integrations in the sidebar.
  2. Open the Integration Library tab.
  3. Find PostgreSQL or filter by Cloud Storage.
  4. Click Install, select a variant if available, and fill in the required fields.
  5. Click Install Integration to create the integration with a ready-to-use default configuration.

API Setup

curl -X POST http://localhost:8084/v1/admin/integration-catalog/postgresql/install \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "PostgreSQL",
    "variant": "default",
    "config": {
      "host": "db.example.com",
      "port": "5432",
      "database": "analytics",
      "schema_name": "public",
      "table_name": "events",
      "username": "datafly",
      "ssl_mode": "require"
    },
    "delivery_mode": "server_side"
  }'

Delivery

Events are delivered server-side from your Datafly Signal infrastructure directly to PostgreSQL. No client-side scripts are loaded for this integration.

Visit PostgreSQL documentation for full API documentation and credential setup instructions.