I am currently using a date histogram for my visualization. Unfortunately, the date format seems to default to "yyyy-MM-dd". I would like to Modify it to "MMM-yyyy". I've applied that change on the field but I think while using date histogram it doesn't pick up that change. How can I accomplish this?
I tried Change Kigana > Advanced Settings > General > Date format, but not worked in date histogram visualization.. And I couldn't find any settings in visualiations, sorry.
I would use a runtime field for this - we need to implement https://github.com/elastic/kibana/issues/67206 before we have the native support.
ZonedDateTime input = doc['timestamp'].value; String output = input.format(DateTimeFormatter.ofPattern('e')) ; emit(output);
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.