I need to store a time duration two events and have as in HH:mm:ss.SSS. I tried using Date type with basic_time format but it do now allows me to save more than 23 hours.
How would you recommend to proceed in this case?
I need to store a time duration two events and have as in HH:mm:ss.SSS. I tried using Date type with basic_time format but it do now allows me to save more than 23 hours.
How would you recommend to proceed in this case?
Welcome!
Do not store it as a date but as a duration.
Depending on the precision you want, store this as a number of seconds, minutes or hours...
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.