# Joining two indexes

**URL:** https://discuss.elastic.co/t/joining-two-indexes/325876
**Category:** Kibana
**Created:** [February 18, 2023, 2:43am UTC](https://discuss.elastic.co/t/joining-two-indexes/325876 "2023-02-18T02:43:29Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![BenB196](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benb196/32/83401_2.png) [@BenB196](https://discuss.elastic.co/u/BenB196)
#### Post date: [February 19, 2023, 2:57pm UTC](https://discuss.elastic.co/t/joining-two-indexes/325876/3 "2023-02-19T14:57:06Z")

</div>

One possibility is to use something like the [lookup runtime field](https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime-retrieving-fields.html#lookup-runtime-fields) for this. I created a somewhat pseudo code example [here](https://discuss.elastic.co/t/check-forecast-accuracy-with-scripted-field/324650/4).

---

_[View the full topic](https://discuss.elastic.co/t/joining-two-indexes/325876)._
