# Add annotation to TSVB at specific time

**URL:** <https://discuss.elastic.co/t/add-annotation-to-tsvb-at-specific-time/235853>\
**Category:** Kibana\
**Created:** [June 4, 2020, 10:10pm UTC](https://discuss.elastic.co/t/add-annotation-to-tsvb-at-specific-time/235853 "2020-06-04T22:10:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![butchkelley](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@butchkelley](https://discuss.elastic.co/u/butchkelley)\
**Post date:** [June 4, 2020, 10:10pm UTC](https://discuss.elastic.co/t/add-annotation-to-tsvb-at-specific-time/235853/1 "2020-06-04T22:10:41Z")

</div>

Hello,

I need to add a simple annotation to a time series visual every day at 12:10am. I was thinking of adding a document every day at that time than create a annotation query to look for it. Is there a simpler way?

Thanks,  
Butch

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 12, 2020, 10:40am UTC](https://discuss.elastic.co/t/add-annotation-to-tsvb-at-specific-time/235853/2 "2020-06-12T10:40:09Z")

</div>

Hi @butchkelley

I'm not aware of a specify way to do that, Can I ask you if you always have a document at that time? because if you have one you don't have to create a new one and you can add a scripted field that return true or false if the timestamp is 12.10am.  
Unfortunately the annotation is only attached to a document

---

<div class="post-metadata">

**Author:** ![butchkelley](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@butchkelley](https://discuss.elastic.co/u/butchkelley)\
**Post date:** [June 15, 2020, 3:35pm UTC](https://discuss.elastic.co/t/add-annotation-to-tsvb-at-specific-time/235853/3 "2020-06-15T15:35:13Z")

</div>

Thanks Marco -

Yes, I do have a specific doc at that time and I was able to get it to work via the following query string:  
@timestamp:[now-0d/d+4h TO now-1d/d+5h-40m] AND _the rest of my filter..._

Butch

---

<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 13, 2020, 3:41pm UTC](https://discuss.elastic.co/t/add-annotation-to-tsvb-at-specific-time/235853/4 "2020-07-13T15:41:02Z")

</div>

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