In this article we will cover, in detail, how we can connect Amazon Redshift data source using Helical Insight and create reports/dashboard using it.

Prerequisites :

  1. Amazon Redshift Cluster instance on Amazon Web Services.

Following are the steps to create report with Helical Insight using Amazon Redshift:

  1. Dialect Configuration
  2. Datasource Creation
  3. Metadata Creation
  4. Adhoc Reports

Dialect Configuration

Dialect is used for generating SQL query as per the database selected. In Helical Insight Application, following are the steps to configure dialect :

  1. Go to hi-repository/System/Admin.

  2. sqlDialects.properties file

  3. Open “sqlDialects.properties” file in edit mode using text-editor such as notepad, notepad++.
  4. Add the below present line at the end of the file in a new line.
    com.amazon.redshift.jdbc.Driver=org.hibernate.dialect.PostgreSQLDialect
  5. Now, save the file.

Note : In case, dialect is not assigned then by default MySQL dialect is mapped with the selected database. In result, a sql query will be generated which may or may not support the selected database.


Create Datasource

This process involves establishing a connection between Helical Insight application and a Source Databases.



There are 2 methods available for creating a Datasource in Helical Insight:

  1. Front End Approach
  2. Back End Approach

Following are the steps shown below to create datasource using available methods :



Method 1 : Front End Approach

  1. Login to Helical Insight Application.  ( For default credentials, click here )
  2. Click on “Home” button and select “Adhoc” from the list.
  3. On entering Adhoc Page, click on “Create” button in Datasources


  4. datasource-creation

  5. Select the “DataSource Type” from the given list. In this case, “Managed Datasource” will be used.
  6. Then, enter “DataSource Name” say “redshift cluster” ( any name can be assigned ) and select driver from the given list. Here, redshift jdbc driver will be selected with the name “com.amazon.redshift.jdbc.Driver”.

  7. Note :
    In case, the redshift database driver is not present in the list then externally the list can be updated.

    Following are the steps to update list :

    1. Download the latest Amazon Redshift JDBC Driver. Click here to download.
    2. Once you have downloaded the driver, you need to put that driver in a specific folder and then immediately it will start appearing in the drop down list of Datasource. Click here for more details


  8. Enter the URL which is a JDBC URL. Like one shown below


  9. aws-hi-redshift-cluster-details


    Sample URL :

    jdbc:redshift://hirdstest.cuqoxvtywysw.us-west-2.redshift.amazonaws.com:5439/hidbtest
  10. Enter Username which is a Master Username.
  11. Then, enter Password which is a Mater Password.
  12. Now, click on “Test Connection” in order to verify entered credentials.


  13. datasource-test-connection

  14. After clicking Test Connection, if the connection is established then a notification “The connection test is successful” appears.
  15. Click “Save DataSource
  16. Hereon, a connection is established with an intended redshift cluster present on Amazon Server.

  17. Note:
    If there are multiple redshift cluster present on Amazon Server then separate datasource connection needs to be created in Helical Insight.

  18. Then, next step involves creation of metadata. After saving datasource, from the same page, click on “Metadata” (at the top right )
  19. Then, click on “Workflow”.

Further steps will be covered in “Metadata Workflow” step.


Method 2 : Back End Approach

  1. Go to “hi-repository” folder where a Helical Insight Application is installed and then open the folder.
  2. C:\Helical Insight\hi-repository
  3. Create a New Folder with any name say “Amazon Redshift” inside “hi-repository” folder.


  4. redshift-hi-repository

  5. Now, open a text-editor like notepad, notepad++ , and so on.
  6. Then enter the following details as given below :
  7. <EFWD>
        <DataSources>
             <Connection id="1" name="Redshift Cluster EFWD" type="sql.jdbc">
                 <Driver>com.amazon.redshift.jdbc.driver</Driver>
                 <Url>jdbc:redshift://hirdstest.cuqoxvtywysw.us-west-2.redshift.amazonaws.com:5439/hidbtest</Url>
                 <User>hirdsuser</User>
                 <Pass>Hirdsuser1</Pass>
             </Connection>
        </DataSources>
    </EFWD>
    • Connection ID : User can assign any ID (numeric and unique)
    • name : Name of the Datasource to be shown in the Datasource list
    • Url : JDBC URL can be accessed from Cluster Configuration details. Like one shown below.
      aws-hi-redshift-cluster-details

    • User: Database Username
    • Password: Database password


  8. After entering the details, save the file as “filename.efwd

    Note: Saved file has to be present inside the “Amazon Redshift” folder of “hi-repository“.

  9. Now, the Redshift connection has been established. ( if entered details are correct )
  10. Then, next step involves creation on metadata.
  11. Now, login to Helical Insight Application using any web browser.
  12. Click on “Home” button and select “Adhoc” from the list.
  13. Then, Click on “Metadata” Tab and then select “Workflow”.

Further steps will be covered in “Metadata Workflow” step.


Create Metadata

For creating a metadata it is mandatory to have established datasource connection which is explained in create datasource.

  1. On clicking “Workflow” from “Metadata” tab, “Datasource Type” selection page is displayed.
  2. create and edit metadata

  3. Select the “DataSource Type” from the given list.
    • For Method 1 : Select DataSource Type: Managed Datasource
    • For Method 2 : Select DataSource Type: Plain JDBC Datasource


  4. Click on the Datasource Name using which metadata will be created.
    • For Method 1 : Datasource Name “redshift cluster” is used. Any name can be assigned during configuration of datasource.
    • aws-helical-insight-redshift-datasource


    • For Method 2 : Datasource Name “Redshift Cluster EFWD” is used. Any name can be assigned during configuration of datasource in efwd file.
    • redshift-efwd-entries


  5. After clicking the datasource name, a window will show available catalogs and schemas. Now click one radio button to select intended catalog and schema (here schema selected is public)

  6. Now, select the required table from table list, and click Next

  7. After table selection, select required columns from selected tables, and click Next

  8. Now , a metadata page appears where various operations can be performed such as table/column aliasing, defining joins, creating views and apply table/column/data security conditions.

  9. Click on “Save” to create metadata.
  10. After clicking “Save” button, a window will appear known as File Browser. Using File Browser, a metadata file is saved in the file-repository of Helical Insight.
  11. Then, click on “Save Metadata” to confirm.
  12. Now, metadata file is ready for creating Adhoc Reports.


Adhoc Reports :

Now using created Redshift metadata you can create adhoc report, how to create Adhoc Report, click here




For further assistance, kindly contact us on support@helicalinsight.com or post your queries at forum.helicalinsight.com

Leave a Reply

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered