This information is for Chronosphere Telemetry Pipeline, which is a standalone product separate from Chronosphere Observability Platform.
sqldb, alias: SQL_DB_Input) lets you ingest log data from a
relational database into a telemetry pipeline. If you write your logs to a
relational database, you can use the SQL DB Input plugin to convert that data
into a pipeline-friendly format.
This plugin supports the following SQL formats:
- Postgres
- MySQL
- Oracle
- Microsoft SQL Server
- SQLite
This plugin doesn’t support duplicates of itself within the same pipeline.
Supported telemetry types
The for Chronosphere Telemetry Pipeline supports these telemetry types:Configuration parameters
Use the parameters in this section to configure the . The Telemetry Pipeline web interface uses the items in the Name column to describe these parameters. Pipeline configuration files use the items in the Key column as YAML keys.General
Advanced
Example queries
The following examples describe how to configure the SQL DB Input plugin in different hypothetical scenarios.Serial ID
Given the following database structure, which includes an auto-increasingid:
id. To include
such a query in your pipeline, configure the plugin as follows:
id, and then uses the id value from the previous query to
paginate data.
Time-based pagination
Given the following database structure, which includes a non-sortableid:
id and created_at to paginate data. To include
such a query in your pipeline, configure the plugin as follows:
id and created_at, then uses the id and
created_at values from the previous query to paginate data.
