Is there a way to filter by date and not by date time in Kibana Lens?

This runtime field -

ZonedDateTime input = doc['@timestamp'].value;
String output = input.format(DateTimeFormatter.ISO_LOCAL_DATE);

emit(output);

Will return date in yyyy-mm-dd

This page is very useful for date formatters -
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html

1 Like