# TSVB - match fields from two Indexes V7.3

**URL:** <https://discuss.elastic.co/t/tsvb-match-fields-from-two-indexes-v7-3/241873>\
**Category:** Kibana\
**Created:** [July 20, 2020, 9:59am UTC](https://discuss.elastic.co/t/tsvb-match-fields-from-two-indexes-v7-3/241873 "2020-07-20T09:59:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![martb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martb/32/78185_2.png) [@martb](https://discuss.elastic.co/u/martb)\
**Post date:** [July 20, 2020, 9:59am UTC](https://discuss.elastic.co/t/tsvb-match-fields-from-two-indexes-v7-3/241873/1 "2020-07-20T09:59:15Z")

</div>

Hi,

I'm new to the TSVB in Kibana. Im displaying data from one index and trying to tag events from another index where the field contents matches i.e hostname.  
All works accept the tagging events on match. Please advise what the 'Query string' under Annotations would be to match two different index fields?

Many Thanks

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [July 29, 2020, 8:45pm UTC](https://discuss.elastic.co/t/tsvb-match-fields-from-two-indexes-v7-3/241873/2 "2020-07-29T20:45:33Z")

</div>

Hi @martb, I don't know what your mapping is and can't give you the query string to issue.  
However, if you take a look at the TSVB visualization for the flights dataset, there's a TSVB that uses three fields for the annotations:

 ![Screen Shot 2020-07-29 at 13.42.29](https://us1.discourse-cdn.com/elastic/original/3X/0/5/05d425acba4406358d440dc4f8cf2f766d4d2de8.png)

Here's a handy video for reference too: [https://www.elastic.co/blog/time-series-annotations-and-anomalies-with-kibana](https://www.elastic.co/blog/time-series-annotations-and-anomalies-with-kibana)

---

<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 26, 2020, 8:45pm UTC](https://discuss.elastic.co/t/tsvb-match-fields-from-two-indexes-v7-3/241873/3 "2020-08-26T20:45:33Z")

</div>

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