# Kibana - Seperate logs from 2 different elastic-search Indexes

**URL:** https://discuss.elastic.co/t/kibana-seperate-logs-from-2-different-elastic-search-indexes/179738
**Category:** Kibana
**Created:** [May 6, 2019, 10:05am UTC](https://discuss.elastic.co/t/kibana-seperate-logs-from-2-different-elastic-search-indexes/179738 "2019-05-06T10:05:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Prabhu2430](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhu2430/32/41706_2.png) [@Prabhu2430](https://discuss.elastic.co/u/Prabhu2430)
#### Post date: [May 6, 2019, 10:05am UTC](https://discuss.elastic.co/t/kibana-seperate-logs-from-2-different-elastic-search-indexes/179738/1 "2019-05-06T10:05:56Z")

</div>

Hi,

I have been pulling logs from both Stage & Prod environments and storing it in 2 different Elastisearch index.

1. stagelogs
2. prodlogs

I have also created 2 index pattern filters in the Kibana dashboard. But my concern here is , in the **Discover** panel of Kibana I am seeing the logs from both Stage & Prod even If I am in the stagelogs index pattern.

Could you please guide me on how to separate the logs from 2 separate index patterns in the Kibana discover dashboard

Thanks

---

<div class="post-metadata">

### Author: ![joelgriffith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joelgriffith/32/53738_2.png) [@joelgriffith](https://discuss.elastic.co/u/joelgriffith)
#### Post date: [May 10, 2019, 3:31pm UTC](https://discuss.elastic.co/t/kibana-seperate-logs-from-2-different-elastic-search-indexes/179738/2 "2019-05-10T15:31:57Z")

</div>

@Prabhu2430 Could you share more details on how you have your index patterns setup? Screenshots or otherwise are definitely fine.

---

<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: [June 7, 2019, 3:32pm UTC](https://discuss.elastic.co/t/kibana-seperate-logs-from-2-different-elastic-search-indexes/179738/3 "2019-06-07T15:32:00Z")

</div>

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