How to Build a Custom Dashboard

Use this page to build a custom dashboard displaying the Kibana visualizations that you add to your reporting site. When you perform this operation, you must create custom visualizations in Kibana. This page uses the sample report "Average search efficiency in time for one user."

Notes

  • The default Analytics index is paxindex (unless configured differently during your install).
  • The schema and content of the index are displayed in the Discover tab.
  • A report can have one, or more, visualizations that can be grouped in a dashboard.

Build Your Kibana Dashboard

Build your Kibana dashboard by using the following steps:

  • Kibana visualizations, such as line graph and data table visualizations.

  • Kibana dashboard:
  • Make note of the link for the dashboard. (For more information, see the following section on this page.)
  • By default, the container has a 12x6 size; you must adjust the x and y attributes in the link to fit the container.

Add a Custom Report to the Analytics Page

  • On the local server where Kibana is installed, open the reporting website directory: <SmartHub_root>\ReportingWebSite.
    1. The default location is [DRIVE LETTER]:\Program Files\BA Insight\Smart Analytics.

  • Open the "Pages" sub-folder.

  • If you want to add the new report to one of the default category pages, go to the Use the Out-of-the-Box Reports page to see the default reports and open one of the existing folders.
    Alternatively, create a new folder to include your custom report.

  • Use a text editor to create a new .aspx page that displays the report.

  • Name this page.

    See the CustomAnalytics page.

  • Copy the contents of one of the existing.aspx pages.

  • Replace the page-header values with the information about the new report. See the following example:

    See the div example.

  • Enter the link to the pax-dashboard in the reportUrlMappings object:
    1. Provide the link starting with dashboard/ and concatenate this link with /PaxKibana/?#/ so that the URL rewrite will work.

    2. Make sure the size of the dashboard is set above (12x6).

    3. To embed the dashboard, you must add the embed& tag in the provided link before _g=;

      1. For example: /PaxKibana/?#/dashboard/Distribution-of-actions-with-this-document?embed&_g…).

    See the script example.
  • To display a search box on the new reporting page, you must add/keep the pax search container.
  • Replace the input-group-addon value with the title of the field that you want to search for and the associated-property value to search.

    See the sample code.

  • Save and close the file.

Add a New Report (Node) in the Reporting Site Menu

  • Open the Web.sitemap file from the ReportingWebSite folder in a text editor.

  • Add the new report to the site map by adding a new siteMapNode.

    See the siteMapNode.

    The new report can be

    1. Added as a subcategory of the existing topics (Search Analytics, User Analytics, Query Analytics, Content Analytics, or Search Diagnostics).

    2. Located under a new parent category: Create a new, parent category and add your report as a child. If, during the previous step you included the .aspx file in a new folder, add a new siteMapNode to show that the report is included in the new category.

    When you add your report to the site map, you must specify the URL to the .aspx page that was created during the previous step and specify thetitle for the menu.

  • Add the user activity recorder module.

  • Refresh your SmartHub Analytics page.

  • For a given time frame such as This year:, click and modify to view the relevant data.

Additional Information

For more information, use the following links: