![]() |
VOOZH | about |
Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.
This example demonstrates how to use the CData SSIS Tasks for Grafana inside of a SQL Server SSIS workflow to transfer Grafana data into a Microsoft SQL Server database.
To get started, add a new Grafana source and SQL Server ADO.NET destination to a new data flow task.
๐ The Data Flow task used in this example. (Salesforce is shown.)Follow the steps below to save Grafana connection properties in a connection manager.
Start by setting the Profile connection property to the location of the Grafana Profile on disk (e.g. C:\profiles\Grafana.apip). Next, set the ProfileSettings connection property to the connection string for Grafana (see below).
In Grafana, navigate to Administration > Users and Access > Service accounts, create a service account, then click Add service account token to generate a token.
๐ Configuring a connection (Salesforce is shown).Follow the steps below to specify the query to be used to extract Grafana data.
SELECT Id, Name FROM Alert WHERE State = 'alerting'๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the Grafana data into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with Grafana data.
๐ The completed import. (Salesforce is shown.)Connect to live data from Grafana with the API Driver
Connect to Grafana