# Setup Kibana Dashboard

## Overview

This document outlines the steps required to create and configure health campaign dashboards in a different space within Kibana.

## Pre-requisites

* Knowledge of creating dashboards in Kibana. - [Dashboard and visualisations](https://www.elastic.co/guide/en/kibana/8.11/dashboard.html)
* Transformer and indexer services are up and running to enrich data for KPI creation and push data to Elastic Search.

## Steps

{% stepper %}
{% step %}

### &#x20;Access Kibana

* URL: {{HOST NAME}}/kibana
* Replace the {{HOST NAME}} with your domain URL.

<figure><img src="https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/wnNRLHWVBVeJyIvvi6Ol/Screenshot%202024-05-29%20at%2011.29.36%20AM.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Verify installation & service setup

* Check the Kibana version through the UI in the Help section.

<figure><img src="https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/WHXk9FBS1Sd5QGcHvJ5G/Screenshot%202024-05-29%20at%2011.31.58%20AM.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Create or select a space

* By default, users will have access to the default space.

<figure><img src="https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/wCEOPopzREsVLQNMDN8d/Screenshot%202024-05-29%20at%2011.33.45%20AM.png" alt=""><figcaption></figcaption></figure>

* 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.

<figure><img src="https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/9qdLL1sIj9BIuXplBJGN/Screenshot%202024-05-29%20at%2011.35.24%20AM.png" alt=""><figcaption></figcaption></figure>

* Switch to or create a new space where the dashboards will be configured.
  {% endstep %}

{% step %}

### Visualise data views & dashboards

{% hint style="info" %}
You can import and use the existing data views and dashboards from the product environment. To import existing data views, follow the steps given below.
{% endhint %}

* Navigate to the “Stack Management” in the sidebar.

<figure><img src="https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/qPrBCO79HwgYyqd0LsxY/Screenshot%202024-05-29%20at%2011.37.18%20AM.png" alt=""><figcaption></figcaption></figure>

* Click on “Saved Objects” under Kibana.

<figure><img src="https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/DLuRZitVc93ZxNKNxeI3/Screenshot%202024-05-29%20at%2011.38.17%20AM.png" alt=""><figcaption></figcaption></figure>

* 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:&#x20;

{% file src="<https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/HfTEgHao6JzOOJcgGhA6/export.ndjson>" %}

<figure><img src="https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/uD5bW8nqwNO300Zm1l1e/Screenshot%202024-05-29%20at%2011.39.14%20AM.png" alt=""><figcaption></figcaption></figure>

* If you need to create your own data views, follow this guide:[ Creating Data Views in Kibana](https://www.elastic.co/guide/en/kibana/current/data-views.html).
* All dashboards and data views will be imported here and can be viewed under “Saved Objects”.

<figure><img src="https://content.gitbook.com/content/mb5VUHEnO0msarLMPz6q/blobs/CkUKMBQZI3VdjpJrSy1M/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digit.org/health/deploy/installation/setup-kibana-dashboard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
