Creating a Visualization for Application Data

Search Framework enables you to create visualizations based on application data, which is indexed in Elasticsearch. You create a visualization and dashboard in Kibana.

This section discusses the steps that should be completed before you can use the newly created dashboards and its visualizations:

  • Import a newly created dashboard.

  • Configure a dashboard as a tile or related information.

  • Specify user privileges for a dashboard.

After completing these steps, the dashboard is ready for use by an end user. For instructions on using a dashboard, see Using a Dashboard.

Creating a visualization from scratch involves creating an index pattern. In the PeopleSoft implementation of Kibana, an index pattern is associated with a search definition, so a visualization is based on a search definition. The index pattern identifies the mapping of the indexed fields. You could also use an index pattern that has already been created if you need to create a visualization based on the same search definition.

A user with the Search Administrator role or a user with create privilege specified on the Kibana Privileges page can create a visualization.

See Specifying User Privileges.

Before you can create a visualization, you need to create an index pattern.

To create a new visualization, complete the following steps:

  1. On the Kibana home page, select the Management icon.

    The Management page displays existing index patterns, if any.

    Note: You must specify one of the index patterns as the default index pattern. If you do not set a default search pattern, users may see error messages when they attempt to view any of the dashboards.

  2. Select Create index pattern.

    The Create index pattern page displays the application data indexes that are indexed in Elasticsearch. The indexes are suffixed with a database name.

  3. For Step 1: Define index pattern, enter an indexed search definition and suffix it with a wild card character (*) to generalize the index pattern and to avoid dependency on the database. If the search definition name that you entered matches the indexed search definition, a success message is displayed.

    For example, ep_ap_payments*

    When you enter a name, take into consideration the characters that can be used.

  4. Select Next Step.

  5. For Step 2: Configure settings, enter a time filter field name or you can select I don't want to use the Time Filter.

    If you select a time filter field name, Kibana will use the field to filter the data by time.

    Use the Show advanced options link to specify a custom name for the index pattern instead of the system-generated name.

  6. Select Create index pattern.

    On creating an index pattern, Kibana displays the mapping of all the fields in the index pattern.

    In the PeopleSoft implementation of Kibana, you should use the field alias for aggregation to return the original text based on the required case-sensitive text.

    If additional languages are enabled in the index, the field names display the corresponding field alias.

  7. After creating the index pattern, select the Discover icon to view the indexed documents of the index pattern.

    Select a date range to filter the documents.

    Note: The Discover page uses the technical names for fields rather than the alias names displayed on the index pattern.

  8. Next, select the Visualize icon. The page lists existing visualizations, if any.

    1. Select the plus sign to create a new visualization.

    2. On the New Visualization page, select a visualization type.

      Hover over each type to read a description of the visualization type.

    3. On the New Pie/Choose a source page, select the index pattern that you created.

    4. Specify the metrics for the visualization.

      The options differ based on the visualization type.

    5. Specify bucket aggregations as required.

    6. Select Save, and then enter a name for the new visualization.

  9. Select the Dashboard icon, and then select Create a new dashboard.

    You may add the visualization to an existing dashboard.

    You can add one or more visualizations to a dashboard.

    1. On the Editing New Dashboard page, select Add to choose a visualization.

    2. From the Add Panels page, select the required visualization.

    3. Select Save, and enter a name for the new dashboard.

      Note: The dashboard name should be unique.

      You may add a description for the dashboard.

      The new dashboard and visualization are listed on the Dashboard page.

For details on creating visualizations and using the various features of Kibana, refer to the Kibana Guide [7.10] on www.elastic.co.

A newly created dashboard and visualization is an object in Kibana. The dashboard and visualization must be imported in to the PeopleSoft database in order to apply the needed user privileges and to configure it as a tile or related information.

Note: Only a PeopleSoft user with the Search Administration role can perform the task of importing dashboards. In fact, the Search Administrator role is required to perform all the subsequent tasks..

Note: Kibana administration pages use the default search instance. If you configure more than one search instance, the search instance with the lowest number in priority is treated as the default search instance.

Use the Import Kibana Dashboards page to import the newly created visualization and dashboard in Kibana to the PeopleSoft database.

Access the Import Kibana Dashboards page by selecting PeopleTools > Search Framework > Administration > Import Kibana Dashboards.

Image: Import Kibana Dashboard page

This example illustrates the fields and controls on the Import Kibana Dashboard page. You can find definitions for the fields and controls later on this page.

Import Kibana Dashboard page

Field or Control

Definition

Name

Choose a dashboard that you want to import. The dashboards that are created in Kibana are listed here. The Import Kibana Dashboard page also displays the applications-delivered dashboards that you have deployed. For information on applications-delivered dashboards, see Managing a Delivered Dashboard.

File Name

This field is populated when you select the Import button. This is the JSON file that Kibana exports. Typically, the file name is the name of the dashboard with .json as the extension.

Import

Imports the selected dashboard from Kibana into the PeopleSoft database.

If you modify a dashboard after it has been imported to PeopleSoft, you should re-import the dashboard to PeopleSoft.

Save

Saves the imported dashboard in the PeopleSoft database.

After importing the dashboard to the PeopleSoft database, the user with the Search Administrator role can configure the dashboard as a tile or related information in a component to enable end users to use the dashboard directly from PeopleSoft.

Note: In addition to the Search Administrator role, you must also have the Portal Administrator role, which is needed to create content references.

Use the Kibana Visualizations page to configure dashboards as tiles or related information in a component.

Access the Kibana Visualizations page by selecting PeopleTools > Search Framework > Administration > Kibana Visualizations.

Configuring a Dashboard as a Tile

Search Framework provides the Kibana Visualization page to enable you to create a content reference for a tile. In order to use this dashboard, end users should add the tile to their PeopleSoft home page using the personalizations option.

For more information, see Using a Dashboard.

Image: Kibana Visualizations - Tile tab

This example illustrates the fields and controls on the Kibana Visualizations - Tile tab. You can find definitions for the fields and controls later on this page.

Kibana Visualizations - Tile tab

Field or Control

Definition

Content Reference

Enter a unique name for the content reference of the tile. For example, JOB_POSTINGS_TILE. This name is not displayed to the end user. Before you enter a name for a content reference, refer toDefining Content References.

The content reference is stored in the PeopleSoft Applications folder at this location: PeopleTools > Portal > Structure and Content > Fluid Structure Content > Fluid Pages > PeopleSoft Applications.

Label

Enter a label for the tile. For example, Job Postings. The label appears as the tile header.

Full View

Choose an imported Kibana dashboard from the list. You may configure a dashboard with multiple visualizations for full view. This is a mandatory field.

When a dashboard displays in full view in PeopleSoft, the Open in Kibana link displays if the edit privilege for the dashboard is assigned to you on the Kibana Privileges page. The Open in Kibana link enables you to open the dashboard in Kibana and edit the dashboard.

A user with the view privilege can open the dashboard in PeopleSoft where you have options to filter the data or use the time picker to view data based on a time range.

See Specifying User Privileges for more information.

Tile View

Choose an imported Kibana dashboard from the list. When you configure a dashboard as tile view, the configured dashboard displays on the loading of the tile.

This is a mandatory field.

Note: Oracle recommends that you configure a dashboard that has a single visualization for tile view.

Height

Specify the height of the tile.

For more information on tile sizes, see Step 4: Tile Layout Properties.

Width

Specify the width of the tile.

Configuring a Dashboard as Related Information of a Component

Configuring a dashboard as related information of a component makes the dashboard appear in the right panel of the component. However, access to the component and dashboard data is controlled by the security privileges assigned to a user.

On the Kibana Visualizations page, select the Component Level tab to configure a dashboard as related information of a component.

Image: Kibana Visualizations - Component Level tab

This example illustrates the fields and controls on the Kibana Visualizations - Component Level tab. You can find definitions for the fields and controls later on this page.

Kibana Visualizations page - Component Level tab

Field or Control

Definition

Component Name

Choose the fluid component to which you want to configure a dashboard as related information.

Content Reference

Choose the content reference name associated with the selected component.

Full View

Choose an imported Kibana dashboard from the list. You may configure a dashboard with multiple visualizations for full view. This is a mandatory field.

When a dashboard displays in full view in PeopleSoft, the Open in Kibana link displays if the edit privilege for the dashboard is assigned to you on the Kibana Privileges page. The Open in Kibana link enables you to open the dashboard in Kibana and edit the dashboard.

A user with the view privilege can open the dashboard in PeopleSoft where you have options to filter the data or use the time picker to view data based on a time range.

See Specifying User Privileges for more information.

Tile View

Choose an imported Kibana dashboard from the list.

When you configure a dashboard as tile view, the related information tile displays the dashboard on loading of the component.

Note: Oracle recommends that you configure a dashboard that has a single visualization for tile view.

Test Content

Enables you to preview the dashboard in the component.

Kibana does not provide role level access to the dashboards and visualizations, so PeopleSoft provides the required security by mapping the dashboards to PeopleSoft roles.

Note: The Search Administrator role is considered as the super user in Kibana. Thus, a user with the Search Administrator role has access to all the dashboards and visualizations.

Use the Kibana Privileges page to specify user privileges for the dashboards and to create visualizations.

Access the Kibana Privileges page by selecting PeopleTools > Search Framework > Administration > Kibana Privileges.

Image: Kibana Privileges page

This example illustrates the fields and controls on the Kibana Privileges page. You can find definitions for the fields and controls later on this page.

Kibana Privileges page

Field or Control

Definition

Dashboard Access grid
Dashboard Name

The drop-down list displays the imported dashboards. Choose a dashboard.

Role Name

Choose an application specific role that you want to map to the selected dashboard.

Privilege

Valid values are:

  • Edit - A user with the edit privilege can edit a dashboard or visualization in Kibana and save the changes.

    On PIA, when a dashboard is displayed, the Open in Kibana link appears for a user with the edit privilege. The Open in Kibana link enables you to open the dashboard in Kibana and edit the dashboard.

  • View - A user with the view privilege can open a dashboard or visualization in PeopleSoft and view it. The user can use the filter options and time picker options.

With this security layer, only users with the specified role can view or edit a dashboard. Furthermore, if you want to personalize a tile (Kibana dashboard) on your home page, the tile will be listed only if you have the privilege, that is, you have the role specified on the Kibana Privileges page. Therefore, administrators must take into account the users to whom the dashboards should be available.

Create Access grid
Role Name

For a user to create a new dashboard, the user should have at least one of the access roles mapped in the create access list.

A user who is the creator of the dashboard possesses the edit privilege irrespective of the role mapped in the dashboard create access grid. A user with the Search Administrator role can access all the dashboards.

A dashboard can be mapped to multiple roles with different privileges for a user.