# Performant query from several indices

**URL:** <https://discuss.elastic.co/t/performant-query-from-several-indices/179996>\
**Category:** Elasticsearch\
**Created:** [May 7, 2019, 2:03pm UTC](https://discuss.elastic.co/t/performant-query-from-several-indices/179996 "2019-05-07T14:03:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abrasat](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@abrasat](https://discuss.elastic.co/u/abrasat)\
**Post date:** [May 7, 2019, 2:03pm UTC](https://discuss.elastic.co/t/performant-query-from-several-indices/179996/1 "2019-05-07T14:03:37Z")

</div>

We are planning to define 2 kind of indices for our event logging system based on elasticsearch. The first one would contain the actually generated event logs, containing the timestamp of the event occurence, as well as the unique event-identifier. The other index would contain detailed static information (several texts) about the event, for each event-identifier. It is possible that there are several such datasets, if several languages have to be supported in the project (the texts are defined in the different languages, for each language in an own index).  
What aspects must be considered when designing the indices to get a good perfomance when querying the combined information (with kibana for instance), by joining the dynamic data from the time-based event logger index, with the static information from the language specfic index. As the dynamically logged events should be stored in rolling indices created on a daily basis, it should be also possible to get performant queries for several days, involving even more indices in the query.

---

<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 4, 2019, 2:03pm UTC](https://discuss.elastic.co/t/performant-query-from-several-indices/179996/2 "2019-06-04T14:03:46Z")

</div>

Closed on June 4, 2019, 2:03pm UTC

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