If I create a visualization (either a pie or a histogram) and split it with a Date histogram aggregation, the axis labels are not formatted (key in millisec is shown), while the tooltip correctly shows only the year (or the appropriate date format).
(BTW, testing it on [elastic demo] the situation is the opposite: the axis label is well-formatted, while in the tooltip it's shown in millisec).
Is it there any way to show the formatted key value (the date) also on axis label (maybe using the json input)?
"@timestamp": { "type": "date" } for all the indices included in the kibana pattern
Yes, it's a date type field and is also the field used as for Time Filtering
No, in kibana it has the - Default - Format (Date)
Maybe it's not clear enough from the image I posted before, but this behavior only occurs when I use a Date Histogram aggregation in Split Chart, not in Axis or Split Series.
Could you click the "Inspect" button in the top menu, select "View: Requests" in the top right of the flyout, and click the Response tab? What does the info for one of the top level date histogram buckets look like? I see something like this:
Only difference I'm using 6.7.0.
Reading through the release notes I don't find anything specific to this, but I assume it could have been fixed between 6.7.0 and 6.7.2.
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.