This document outlines the steps required to create and configure health campaign dashboards in a different space within Kibana.
Knowledge of creating dashboards in Kibana. - Dashboard and visualizations
Transformer and indexer services are up and running to enrich data for KPI creation and push data to elastic search.
Retrieve the Kibana Credentials Secret:
kubectl get secret elasticsearch-master-credentials -n es-cluster -o yaml
Decode the credentials:
To decode the username
and password
, include the following steps:
Copy the base64 encoded values for username
and password
from the command output.
Paste the encoded values into the input box on the website.
Click on the "Decode" button to get the plain text username
and password
.
URL: {{HOST NAME}}/kibana
Replace the {{HOST NAME}} with your domain URL.
Check the Kibana version through UI in the ‘Help’ section.
By default, users will have access to the default space.
To create a new space or edit, open the main menu, then click Stack Management → Spaces for an overview of your spaces. This view provides actions to create, edit, and delete spaces.
Switch to or create a new space where the dashboards will be configured.
We have existing data views and dashboards from the product environment that you can import and use. To import existing data views, follow the steps below:
Navigate to the “Stack Management” in the sidebar.
Click on “Saved Objects” under Kibana.
Import the data views file here. Data views contain the queries and charts needed to fetch data from the indexes. The file to be imported is given below:
If you need to create your own data views, follow this guide: Creating Data Views in Kibana.
All dashboards and data views will be imported here and can be viewed under “Saved Objects”.
To understand how to create dashboards in Kibana, refer to this guide: Create a Dashboard of Panels.
To edit existing dashboards, open the desired dashboard.
Click on the ‘Edit’ button.
For each chart you want to edit, click on “Edit Visualization”.
Check the chart type and data view from which data is getting fetched as shown in the image below:
Click on “Edit Lens” to get an overview of the available and selected fields in the respective data view.
You can go to the respective data view under Stack Management -> Saved Objects, update the indexes, and add a timestamp filter for the respective chart.
View/Edit Queries used to get the metric data
After going back to the “Edit Visualization”, you can see the metrics that are shown in the chart here as shown in the image below:
Click on the desired metric, for which you want to view/edit the query.
View Data Sources
To see which index a data view is pulling the data from, check the respective data views in Stack Management -> Data Views.
If you need to create your own data views, follow this guide: Creating Data Views in Kibana.
For example, if you click on “Edit Visualization” on a chart, you will see that the table chart is getting data from the DV-PT-PJT data view.
You can then view the DV-PT-PJT data, check the indices from where the data is getting pulled, and add a timestamp filter according to your requirements.