> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/health/deploy/installation/setup-kibana-dashboard/create-or-edit-existing-dashboards.md).

# Create or Edit Existing Dashboards

## Steps

{% stepper %}
{% step %}

### &#x20;Create dashboards&#x20;

* To understand how to create dashboards in Kibana, refer to this guide:[ Create a Dashboard of Panels](https://www.elastic.co/guide/en/kibana/current/create-a-dashboard-of-panels-with-web-server-data.html).
  {% endstep %}

{% step %}

### Edit existing dashboards

* Open the desired dashboard.

<figure><img src="/files/IFjYLwOOSocRzulMHIea" alt=""><figcaption></figcaption></figure>

* Click on the 'Edit' button.

<figure><img src="/files/QsG09z3KzG7CaLQGUtef" alt=""><figcaption></figcaption></figure>

* Click on the “Edit Visualisation” option on the specific chart you want to edit.

<figure><img src="/files/vl3ZjFIG761wKoQqm6rO" alt=""><figcaption></figcaption></figure>

* Check the chart type and data view from which the data is being fetched.

<figure><img src="/files/RUxEQrtzF8Dom0BfbBtU" alt=""><figcaption></figcaption></figure>

* Click on “Edit Lens” to get an overview of the available and selected fields in the respective data view.

<figure><img src="/files/HgmWya3ZN0xupALm1LdV" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/7KKI7HaOjMhdcuDARiyD" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### View or edit queries to fetch metric data

* After going back to the “Edit Visualisation”, you can see the metrics that are shown in the chart here, as shown in the image below:

<figure><img src="/files/b97WsTTPUfOBOehz0ly1" alt=""><figcaption></figcaption></figure>

* Click on the desired metric for which you want to view/edit the query.

<figure><img src="/files/20MJsEVPf78bcuvxV1lx" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 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](https://www.elastic.co/guide/en/kibana/current/data-views.html).
* For example, if you click on “Edit Visualisation” on a chart, you will see that the table chart is getting data from the DV-PT-PJT data view.&#x20;
* 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.
  {% endstep %}
  {% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.digit.org/health/deploy/installation/setup-kibana-dashboard/create-or-edit-existing-dashboards.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
