Connect to AWS Open Search

To connect Bold Reports® to AWS Open Search, open the Data configuration panel in the Web Report Designer and create an AWS Open Search data source. You can then add tables in design view or write a custom query.

How do I create an AWS Open Search data source?

To create an AWS Open Search data source in the Bold Reports® Web Report Designer, open the Data configuration panel and choose the Elastic Search connection type.

  1. Click the Data icon in the configuration panel. Data icon configuration panel
  2. In the DATA configuration panel, click the NEW DATA button. Data icon configuration panel
  3. In the connection type panel, choose the Elastic Search data source type. Connection types panel

How do I configure the basic options?

When you create a new data source in the Web Report Designer, the NEW DATASOURCE panel shows the basic options.

  1. Specify the data source name without special characters in the Name field.
  2. Choose a connection type. Two Connection types are available in the Elastic Search connector:
    • Elasticsearch SQL
    • Open Distro
  3. To connect to an Amazon Web Service hosted Open Search instance, use Open Distro as the connection type.
  4. Enter a valid Open Search server or host name in the Server Name field.
  5. Enter the Port in which the server is running in the port text box.
  6. Enter a valid username in the Username text box.
  7. Enter a valid password in the Password text box. Web datasource properties

After you connect the data source, the data design view page opens. The page lists the schemas and tables from the AWS Open Search server in a treeview section.

New connection panel

Drag and drop the required table from the tree view list.

Tree View List

Multiple joins are not supported for the AWS Open Search data source in Bold Reports®.

Click Finish to save the data source with a relevant name and continue designing the report.

New connection panel

How do I connect through a custom query?

The Bold Reports® Web Report Designer lets you define the data source of certain data connections with a manually written query instead of dragged tables. The custom query applies to connection types such as Elasticsearch SQL and Open Distro connections.

After the connect action, the query design view opens.

How do I switch to code view?

The Bold Reports® query design view opens in design view by default. To switch to code view, enable the slider option in the tools pane, as highlighted in the following image.

New connection panel

The query editor pane then switches to code view, as shown in the following image.

New connection panel

How do I write and execute a query?

In the Bold Reports® Query Editor pane, you can write your own query to access table schema information and retrieve data from your database.

  1. Write your query in the Query Editor pane.
  2. Click the Execute option in the tools pane. The data for your query appears at the bottom of the Query Editor.

New connection panel

If you disable the Code Slider in the tools pane to switch back to design view, an alert message asks you to confirm removing your query. Proceeding with this action resets the code view query.

New connection panel

Click Yes to discard the query and go to design view, or click No to keep it. Save the data source by clicking the Finish button.

How do I view the query for tables added in design view?

The Bold Reports® Query Editor pane shows the query for a data source you already created in design view.

For example, drag the kibana_sample_data_flights table in design view.

New connection panel

Then, enable the Code Switcher to view the query. The query reflects the changes made in the table.

New connection panel

Frequently asked questions

Use the Open Distro connection type to connect to an Amazon Web Service hosted Open Search instance.

Does the AWS Open Search data source support multiple joins?

No. Multiple joins are not supported for the AWS Open Search data source in Bold Reports®.

What happens to my query if I switch back to design view?

An alert asks you to confirm removing your query. Clicking Yes discards the query and resets the code view query.

See also