The date {} filter replaces the @timestamp value with the provided data, so you should see @timestamp with the same value as the [time] field. This is usually useful because there is some delay in the distribution, processing, and storage of the logs, so it is preferable to use the eventβs own time.
Since you have several date fields, you want to use the "target" parameter of the date filter to indicate the destination of the syntax date, for example:
date { match => [ "time","UNIX" ] target => "myTime" }
This converts a string field named [time] into a date field named [myTime]. Kibana knows how to display date fields, and you can configure this in kibana settings.
Since you probably do not need a string with a version date of the same data, you can delete the string version as part of the conversion:
date { match => [ "time","UNIX" ] target => "myTime" remove_field => [ "time" ] }
source share