We have an ELK to get information about the use of one of our software applications.
We have a field for session duration which represent the duration (time) of a session in seconds. That is not very human-readable so I would like to change or convert it to something like "hh hours mm minutes ss seconds"
After reading them, I've changed my question to "how to do it in ElasticSearch?"
I've been looking for information about ElasticSearch datatypes but I haven't found any datatype related to time but dates, I mean I don't know hot to convert a float into a time expression (hh MM ss)
Thank you. My problem is that the field is not a date, it's the number of
seconds (it represents a session duration), so transforming the float
(seconds) data type to a time expression is not direct.
If I specify that field is a date in ElasticSearch, it will understand it
is a date represented in UTC float and that's not the case.
Oh, right - I misunderstood what you were trying to do
Converting a float representing setting duration to a custom time display is not possible at the moment, but is a reasonable enhancement request. Would you mind filing an issue in Github, if it's important to you? https://github.com/elastic/kibana/issues
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.