Skip to main content
Use this page to confirm that Reporter can reach a Data Source and load its schema. The Data Source can be an internal connection already configured for a Lerian product or an external database connection added from the Console.

Objective


Validate connectivity before operators rely on the Data Source in Templates or Reports. For example, test after creating production-postgres, after a password rotation, or before generating a monthly report that depends on a recently changed schema.

When to use


Use this task:
  • immediately after adding an external Data Source;
  • when checking an existing internal Data Source before using it in a Template or filter;
  • after editing host, credentials, schema, or SSL settings;
  • before generating Reports that depend on the connection;
  • when no tables appear in the schema browser;
  • when Report generation fails because of connection or schema errors.

Before you start


Confirm:
  • the Data Source exists on the Data Sources page;
  • the expected host, port, database name, username, schema, and SSL settings are configured;
  • the database should be reachable from Reporter;
  • the database user has permission to read the required tables.
A successful test confirms access at that moment. It does not guarantee future Reports will succeed if credentials, network rules, or database permissions change later.

Step by step


1

Open Data Sources

Go to Data Sources.
2

Find the connection

Locate the card for the Data Source you need to test.
3

Run the test

Click Test Connection.
4

Wait for the result

The status changes to Connecting while Reporter tests the connection.
5

Read the result

If the test succeeds, the status changes to Connected and latency is displayed, such as Latency: 45ms. If it fails, the status changes to Disconnected and an error message appears.
6

Check schema when connected

Expand the connection card to view the schemas, tables, and fields returned for the connection.

Field guide


Test action and result fields

Schema fields shown after testing

Expected result


The Data Source status is Connected, schema information is available, and operators can safely use its fields in Template Builder and report filters.

Common errors and care points


Check schema names and database permissions. The database user may connect but not have access to the tables needed for reporting.
Reopen the Data Source and confirm username, password, host, port, and SSL settings.
Network rules, rotated passwords, and database permissions can change. Re-test when generation errors appear.

Next steps


Test connection

Test a Data Source connection programmatically.

Validate schema

Validate schema access for tables and fields.