# Reuse Dashboards accross different indexes in Kibana

**URL:** <https://discuss.elastic.co/t/reuse-dashboards-accross-different-indexes-in-kibana/289513>\
**Category:** Kibana\
**Created:** [November 17, 2021, 11:27pm UTC](https://discuss.elastic.co/t/reuse-dashboards-accross-different-indexes-in-kibana/289513 "2021-11-17T23:27:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![f4d0](https://avatars.discourse-cdn.com/v4/letter/f/f14d63/32.png) [@f4d0](https://discuss.elastic.co/u/f4d0)\
**Post date:** [November 17, 2021, 11:27pm UTC](https://discuss.elastic.co/t/reuse-dashboards-accross-different-indexes-in-kibana/289513/1 "2021-11-17T23:27:23Z")

</div>

Hi Everyone,

I work in Cybersecurity and every week I have different sets of data to ingest that require separated indexes.

The data sets are ingested using the exactly same mappings, and everytime I have to draw new dashboards exctly like the previous 300 I draw before.

How can I reuse existing dashboards accross different indexes in Kibana?

Thanks

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [November 18, 2021, 8:40pm UTC](https://discuss.elastic.co/t/reuse-dashboards-accross-different-indexes-in-kibana/289513/2 "2021-11-18T20:40:33Z")

</div>

Hello f4d0,

Why do your new sets of data require separate indices? How are you ingesting your data?

> exctly like the previous 300 I draw before

300 dashboards? Or am I misunderstanding?

> How can I reuse existing dashboards accross different indexes in Kibana?

Typically this is done with index patterns / data views. (same thing)

Which version of the elastic stack are you running?

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![f4d0](https://avatars.discourse-cdn.com/v4/letter/f/f14d63/32.png) [@f4d0](https://discuss.elastic.co/u/f4d0)\
**Post date:** [December 2, 2021, 12:35pm UTC](https://discuss.elastic.co/t/reuse-dashboards-accross-different-indexes-in-kibana/289513/3 "2021-12-02T12:35:57Z")

</div>

Hi @mattkime ,

Thank you so much for your feedback.

I require separate indices because they belong to different projects. Data should not mix, because an analyist that uses one indice should not see contents of others. There are legal and data protection reason behind this requirement.

300 dashboards is a figure of speach, sorry for that, it is just to say that I've created the same dashboards, over and over again. But normally it is fair to say that I need to create between 5 to 10 dashboards.

I ingest the data in two different ways, depends on the use case, most of the times I use a program python a python program (I have several different, they they prepare the data and then they push it to elasticseach), other times I use logstash for common firewall logs for example.

I am using version 7.15.

Is it possible to ingest everything to the same indices and block access to view data through database permissions?

Many thanks again.

Kind regards,  
f4d0

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [December 2, 2021, 2:30pm UTC](https://discuss.elastic.co/t/reuse-dashboards-accross-different-indexes-in-kibana/289513/4 "2021-12-02T14:30:40Z")

</div>

@f4d0 I'd suggest each user have their own `role` that limits access to only specific indices - [Defining roles | Elasticsearch Guide [7.15] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/defining-roles.html)

Then all the users can use the same index patterns and dashboards but only see their data. You'll likely need further filtering to isolate different projects each analyst may be working on.

---

<div class="post-metadata">

**Author:** ![f4d0](https://avatars.discourse-cdn.com/v4/letter/f/f14d63/32.png) [@f4d0](https://discuss.elastic.co/u/f4d0)\
**Post date:** [December 2, 2021, 2:33pm UTC](https://discuss.elastic.co/t/reuse-dashboards-accross-different-indexes-in-kibana/289513/5 "2021-12-02T14:33:21Z")

</div>

@mattkime, your feedback is very useful, looks to be what I was looking for.

I'll try to build something around your suggestion.

Many thanks.

---

<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:** [December 30, 2021, 2:33pm UTC](https://discuss.elastic.co/t/reuse-dashboards-accross-different-indexes-in-kibana/289513/6 "2021-12-30T14:33:24Z")

</div>

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