The System Config endpoint can be used to access information about the system and configuration for debugging purposes.
This method will return a zip file containing:
includeLogs=true) — see Retrieving Logs. Only the active file for each log is included; historical rolled-over files are notincludeDbStats=true)To invoke:
GET http://localhost:9000/system-config?includeLogs=true&includeDbStats=true
The endpoint accepts the following optional query parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
includeLogs | boolean | false | If set to true, all log files configured by Smile CDR will be bundled into the zip. Note that this can take a long time if your logs are large. |
includeDbStats | boolean | false | If set to true, database statistics will be collected for each module that has a datasource. |
When includeDbStats=true, the system will collect comprehensive database statistics from each module that has a datasource, including:
Database statistics collection supports the following database engines:
For each supported database, the system collects engine-specific metrics and statistics using appropriate system tables and views.
Database statistics are included in the ZIP file as separate text files for each module that has a datasource:
database-stats-clustermgr.txt - Statistics for the cluster manager databasedatabase-stats-persistence.txt - Statistics for the persistence module databasedatabase-stats-audit.txt - Statistics for the audit module database (if configured)database-stats-transaction.txt - Statistics for the transaction log database (if configured)Each file contains human-readable statistics formatted as plain text, including timestamps, query execution times, and any errors encountered during collection.
Note: System config endpoint added in 2021.05.R02. Database statistics feature added in 2026.05.
You are about to leave the Smile Digital Health documentation and navigate to the Open Source HAPI-FHIR Documentation.