# Elastic Search not searching in multiple indexes with same fields/template

**URL:** <https://discuss.elastic.co/t/elastic-search-not-searching-in-multiple-indexes-with-same-fields-template/66545>\
**Category:** Elasticsearch\
**Created:** [November 18, 2016, 1:57pm UTC](https://discuss.elastic.co/t/elastic-search-not-searching-in-multiple-indexes-with-same-fields-template/66545 "2016-11-18T13:57:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Juma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexandre_juma/32/21704_2.png) [@Alexandre\_Juma](https://discuss.elastic.co/u/Alexandre_Juma)\
**Post date:** [November 18, 2016, 1:57pm UTC](https://discuss.elastic.co/t/elastic-search-not-searching-in-multiple-indexes-with-same-fields-template/66545/1 "2016-11-18T13:57:15Z")

</div>

Hi forum,

I have 7 indexes on ES 2.4.1:

(...)  
green open syslog\_xxx-2016.11.15 5 1 101938408 0 27.1gb 13.5gb  
green open syslog\_xxx-2016.11.16 5 1 247859487 0 59.9gb 29.9gb  
green open syslog\_xxx-2016.11.17 5 1 236681353 0 66.6gb 33.4gb  
green open syslog\_xxx-2016.11.18 5 1 136261099 0 33.9gb 17.3gb

They are created by a logstash 2.3.1 process with a specific template.

I've mapped the index pattern on Kibana (syslog\_xxx-\*) containing time-based events associated with the correct @timestamp field.

When searching on Kibana, if my time range spans 2 indexes, only data from todays index (00h00 onward) is shown. With the same query with a time range within yesterday, it shows yesterday data.

It seems to me that it's not able to return results from 2 different indexes within the same index pattern with the same schema/fields.

Can anyone point me in the right troubleshooting direction?

PS: It's quite strange as I have another 3 or 4 index patters configured that also span multiple daily indexes and everything works great.

Many thanks

BR  
Alex

---

<div class="post-metadata">

**Author:** ![Alexandre\_Juma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexandre_juma/32/21704_2.png) [@Alexandre\_Juma](https://discuss.elastic.co/u/Alexandre_Juma)\
**Post date:** [November 18, 2016, 2:50pm UTC](https://discuss.elastic.co/t/elastic-search-not-searching-in-multiple-indexes-with-same-fields-template/66545/2 "2016-11-18T14:50:15Z")

</div>

Another piece of information: This issue might have arised after an upgrade from ES 2.3.1 to ES 2.4.1

Is there any configuration that might have changed and could need some tweeking for this to work?

Thanks  
Alex

---

<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 16, 2016, 2:50pm UTC](https://discuss.elastic.co/t/elastic-search-not-searching-in-multiple-indexes-with-same-fields-template/66545/3 "2016-12-16T14:50:29Z")

</div>

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