# Querying multiple indexes using dev tools

**URL:** <https://discuss.elastic.co/t/querying-multiple-indexes-using-dev-tools/188842>\
**Category:** Elasticsearch\
**Created:** [July 4, 2019, 6:25am UTC](https://discuss.elastic.co/t/querying-multiple-indexes-using-dev-tools/188842 "2019-07-04T06:25:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [July 4, 2019, 6:25am UTC](https://discuss.elastic.co/t/querying-multiple-indexes-using-dev-tools/188842/1 "2019-07-04T06:25:17Z")

</div>

Hello,

Can anyone help me how to query using two indexes in dev tools of kibana?  
i have two indexes created with different set of data and fields.

Thanks & Regards,  
Priyanka

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 4, 2019, 7:01am UTC](https://discuss.elastic.co/t/querying-multiple-indexes-using-dev-tools/188842/2 "2019-07-04T07:01:42Z")

</div>

```
GET /index1,index2/_search
```

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [July 4, 2019, 9:56am UTC](https://discuss.elastic.co/t/querying-multiple-indexes-using-dev-tools/188842/3 "2019-07-04T09:56:26Z")

</div>

Hello @dadoonet,

Thanks for reply!!!  
Now i am able to search using two indexes. but in dev tools, when i performed any query using two indexes , i can scroll for only 10 results on right hand side even if i can see total count as more than 10. so is that a limitation with dev tool? and what needs to be done in order to see all the results?

Regards,  
Priyanka Yerunkar

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 4, 2019, 1:02pm UTC](https://discuss.elastic.co/t/querying-multiple-indexes-using-dev-tools/188842/4 "2019-07-04T13:02:12Z")

</div>

You can run:

```auto
GET /index1,index2/_search?size=1000

```

Where you'll get the first 1000 hits. At most, you can get by default 10000 hits. If you need more, you should use the Scroll API instead.

---

<div class="post-metadata">

**Author:** ![pyerunka](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Post date:** [July 5, 2019, 5:16am UTC](https://discuss.elastic.co/t/querying-multiple-indexes-using-dev-tools/188842/5 "2019-07-05T05:16:01Z")

</div>

Hello @dadoonet,

Thank you for your help!!!  
This resolves my problem.

Regards,  
Priyanka

---

<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:** [August 2, 2019, 5:16am UTC](https://discuss.elastic.co/t/querying-multiple-indexes-using-dev-tools/188842/6 "2019-08-02T05:16:06Z")

</div>

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