# TSVB Annotations -

**URL:** <https://discuss.elastic.co/t/tsvb-annotations/306050>\
**Category:** Kibana\
**Created:** [May 31, 2022, 3:21pm UTC](https://discuss.elastic.co/t/tsvb-annotations/306050 "2022-05-31T15:21:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![behappy\_alwayz0401](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/behappy_alwayz0401/32/105988_2.png) [@behappy\_alwayz0401](https://discuss.elastic.co/u/behappy_alwayz0401)\
**Post date:** [May 31, 2022, 3:21pm UTC](https://discuss.elastic.co/t/tsvb-annotations/306050/1 "2022-05-31T15:21:05Z")

</div>

Hi,  
Under annotations in a TSVB graph, the query field allows a scripted field to be used. However the 'row template required' box does not allow a scripted field. Hence the values on the graph are showing incorrect numbers - absolute for some and negative for the bolt icon. Is there a way to bring in a scripted field into the row template as well? thanks

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/3/43971c67033d04fb08cb8a6c947a41beb0df6da2.png)

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [May 31, 2022, 4:50pm UTC](https://discuss.elastic.co/t/tsvb-annotations/306050/2 "2022-05-31T16:50:37Z")

</div>

Using runtime fields instead of scripted fields should give you this capability: [Manage data views | Kibana Guide [master] | Elastic](https://www.elastic.co/guide/en/kibana/master/managing-data-views.html#runtime-fields)

---

<div class="post-metadata">

**Author:** ![behappy\_alwayz0401](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/behappy_alwayz0401/32/105988_2.png) [@behappy\_alwayz0401](https://discuss.elastic.co/u/behappy_alwayz0401)\
**Post date:** [June 1, 2022, 4:53am UTC](https://discuss.elastic.co/t/tsvb-annotations/306050/3 "2022-06-01T04:53:25Z")

</div>

Even runtime fields don't seem to work with annotations. Looks like this is a handlebar expression - is there anyway to define absolute value of a field in this tab?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b6c92fad92ece3be958dea15c2a246567ef86dc5.png)

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 3, 2022, 4:06pm UTC](https://discuss.elastic.co/t/tsvb-annotations/306050/4 "2022-06-03T16:06:34Z")

</div>

Which version are you using? I just tested on main and it works fine there.

---

<div class="post-metadata">

**Author:** ![behappy\_alwayz0401](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/behappy_alwayz0401/32/105988_2.png) [@behappy\_alwayz0401](https://discuss.elastic.co/u/behappy_alwayz0401)\
**Post date:** [June 4, 2022, 6:35am UTC](https://discuss.elastic.co/t/tsvb-annotations/306050/5 "2022-06-04T06:35:47Z")

</div>

7.14.1 can you give me an example please? thanks

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [June 6, 2022, 11:19am UTC](https://discuss.elastic.co/t/tsvb-annotations/306050/6 "2022-06-06T11:19:52Z")

</div>

TSVB annotations with runtime fields were added in v7.15.0. Here is the PR [[TSVB] annotations support runtime fields by alexwizp · Pull Request #104287 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/104287)

---

<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:** [July 4, 2022, 11:20am UTC](https://discuss.elastic.co/t/tsvb-annotations/306050/7 "2022-07-04T11:20:14Z")

</div>

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