Change Date format in kibana

I have data in which date format is in epoch format(milli second). Now I want to filter data on that field. How can I make this possible ?
Is there any feature or mapping or plug in, by which data gets stored in date format(yyyy-mm-dd)?

All dates are stored in Elasticsearch as longs. "Internally, dates are converted to UTC (if the time-zone is specified) and stored as a long number representing milliseconds-since-the-epoch" https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html

You can query dates with range queries using date math strings https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html#ranges-on-dates or date formatted strings https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html#_date_format_in_range_queries

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.