How to replace @timestamp to the log files mentioned date?

date { match => [ "LOGTIME", "YYYY-MM-dd HH:mm:ss" ] }