Hi,
Is it possible to do a time range with a timestamp like this? (I can't use now):
{ "range": { "@timestamp": { "from": "2017-08-14T11:56:02-5m","to": "2017-08-14T11:56:02"}}}
Regards
Hi,
Is it possible to do a time range with a timestamp like this? (I can't use now):
{ "range": { "@timestamp": { "from": "2017-08-14T11:56:02-5m","to": "2017-08-14T11:56:02"}}}
Regards
I think you need to add ||
between the date and the datemath:
2017-08-14T11:56:02||-5m
Thank you that is what I was looking for !
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.