# Create or Edit Existing Dashboards

## Steps to Create or Edit HCM Product Dashboards

* 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).
* To edit existing dashboards, open the desired dashboard.

<figure><img src="https://content.gitbook.com/content/GksaORy8fUwxT7jl87he/blobs/VrRvyfR9WEi9nIoT7vfn/Screenshot%202024-05-29%20at%201.23.20%20PM.png" alt=""><figcaption></figcaption></figure>

* Click on the ‘Edit’ button.

<figure><img src="https://content.gitbook.com/content/GksaORy8fUwxT7jl87he/blobs/LLz8sczCOaPeyfD4LTpo/Screenshot%202024-05-29%20at%201.24.07%20PM.png" alt=""><figcaption></figcaption></figure>

* For each chart you want to edit, click on “Edit Visualization”.

<figure><img src="https://content.gitbook.com/content/GksaORy8fUwxT7jl87he/blobs/OUr7B7HpLvcXljqTV3nE/Screenshot%202024-05-29%20at%201.43.10%20PM.png" alt=""><figcaption></figcaption></figure>

* Check the chart type and data view from which data is getting fetched as shown in the image below:

<figure><img src="https://content.gitbook.com/content/GksaORy8fUwxT7jl87he/blobs/sJV3mqc98h3qtzHA2Wmi/Screenshot%202024-05-29%20at%201.44.01%20PM.png" 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="https://content.gitbook.com/content/GksaORy8fUwxT7jl87he/blobs/86CYXfOjakng12fheDJC/Screenshot%202024-05-29%20at%201.45.56%20PM.png" 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="https://content.gitbook.com/content/GksaORy8fUwxT7jl87he/blobs/KB8FqUwFd6K7HxQYzTRe/Screenshot%202024-05-29%20at%201.47.05%20PM.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/GksaORy8fUwxT7jl87he/blobs/BstFZ9rFaRH75G9PJANc/Screenshot%202024-05-29%20at%201.48.03%20PM.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/GksaORy8fUwxT7jl87he/blobs/z8AUusfJFiC97N6zilia/Screenshot%202024-05-29%20at%201.48.42%20PM.png" alt=""><figcaption></figcaption></figure>

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