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
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
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
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
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.