Hi, How to .es for conditional logic on timefield (x-axis) for example, display between 1pm - 5pm only.
Thank you!
Hi, How to .es for conditional logic on timefield (x-axis) for example, display between 1pm - 5pm only.
Thank you!
You would need to have a field with the hour for this, otherwise it's not possible to do this in Timelion.
Thank you, Marius.
A second question, can Hour be parsed out from timefield, as a separate, Scripted Field, in the root index? Could then Filter on Hour.
You can use Java functions in a scripted field. I think you have a getHourOfDay function in Java so you can use that to get the hour out of a timestamp.
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.