# Can we use same index for 2 different sources?

**URL:** https://discuss.elastic.co/t/can-we-use-same-index-for-2-different-sources/307366
**Category:** Kibana
**Created:** [June 16, 2022, 8:52am UTC](https://discuss.elastic.co/t/can-we-use-same-index-for-2-different-sources/307366 "2022-06-16T08:52:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Avinash\_Pattnaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avinash_pattnaik/32/107048_2.png) [@Avinash\_Pattnaik](https://discuss.elastic.co/u/Avinash_Pattnaik)
#### Post date: [June 16, 2022, 8:52am UTC](https://discuss.elastic.co/t/can-we-use-same-index-for-2-different-sources/307366/1 "2022-06-16T08:52:40Z")

</div>

Hello,  
I am new to Elastic and have a query. We are feeding Elastic with logs from our VMware infrastructure via vrops. All vrops logs are uploaded to Elastic with the index check\_vrops.mm.yyyy

Now, I want to send some more logs from another source but I want them to go an index where I can use both these logs and the logs from vrops together for dashboard creation. Since while creating dashboard i can select only one index pattern which in my case is check\_vrops\*.

What should I name the index to which the logs from the 2nd source will be sent? I want to have the logs from both sources under a similar index pattern for creating dashboards.How can I achieve it? Any ideas please?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 16, 2022, 9:04am UTC](https://discuss.elastic.co/t/can-we-use-same-index-for-2-different-sources/307366/2 "2022-06-16T09:04:14Z")

</div>

Welcome to our community! 😃

Are they the same format? If not, then it's best to keep it in a different set of indices.

---

<div class="post-metadata">

### Author: ![Avinash\_Pattnaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avinash_pattnaik/32/107048_2.png) [@Avinash\_Pattnaik](https://discuss.elastic.co/u/Avinash_Pattnaik)
#### Post date: [June 16, 2022, 9:29am UTC](https://discuss.elastic.co/t/can-we-use-same-index-for-2-different-sources/307366/3 "2022-06-16T09:29:13Z")

</div>

Thank you.

Yes, they are in the same format. They are logs from storage devices and VMs.

---

<div class="post-metadata">

### Author: ![Avinash\_Pattnaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avinash_pattnaik/32/107048_2.png) [@Avinash\_Pattnaik](https://discuss.elastic.co/u/Avinash_Pattnaik)
#### Post date: [June 16, 2022, 9:46am UTC](https://discuss.elastic.co/t/can-we-use-same-index-for-2-different-sources/307366/4 "2022-06-16T09:46:45Z")

</div>

Can I use different set of indices to create visualization on a single dashboard?

---

<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: [July 14, 2022, 9:46am UTC](https://discuss.elastic.co/t/can-we-use-same-index-for-2-different-sources/307366/5 "2022-07-14T09:46:46Z")

</div>

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