# How? Use sample dashboards mit custom indices

**URL:** <https://discuss.elastic.co/t/how-use-sample-dashboards-mit-custom-indices/249104>\
**Category:** Kibana\
**Created:** [September 18, 2020, 1:07pm UTC](https://discuss.elastic.co/t/how-use-sample-dashboards-mit-custom-indices/249104 "2020-09-18T13:07:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smm](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@smm](https://discuss.elastic.co/u/smm)\
**Post date:** [September 18, 2020, 1:07pm UTC](https://discuss.elastic.co/t/how-use-sample-dashboards-mit-custom-indices/249104/1 "2020-09-18T13:07:19Z")

</div>

Hi there,  
I managed to import from the sample dashboards for 1 beat only 1 module in a specific space. Now my question is this: Do you know a trick how to define / change that the sample dashboards do not take the standard index **metricbeat** \* but a custom index in the json definition itself? So that I do not have afterwards need to change for every object this paramater but do it from the beginning before importing it into elastisearch / kibana? An example could be the metricbear / docker json definition.  
Thank you for any thought on this matter.

---

<div class="post-metadata">

**Author:** ![smm](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@smm](https://discuss.elastic.co/u/smm)\
**Post date:** [September 23, 2020, 8:15am UTC](https://discuss.elastic.co/t/how-use-sample-dashboards-mit-custom-indices/249104/2 "2020-09-23T08:15:57Z")

</div>

This is the solution:  
setup.dashboards.index  
The Elasticsearch index name. This setting overwrites the index name defined in the dashboards and index pattern. Example: "testbeat-\*"

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 21, 2020, 8:16am UTC](https://discuss.elastic.co/t/how-use-sample-dashboards-mit-custom-indices/249104/3 "2020-10-21T08:16:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
