While you could use the Citadel API to log data to Citadel without going through the usual route of configuring a network published shared variable to log directly to Citadel, that API is only available and installed with the DSC module.
If you need to push data to a database, you could certainly write a module to do so. This is tricky for us to provide in a generic fashion, since it usually depends on the database schema being used.
Cheers,
Matt Pollock
National Instruments