I am receiving epoch time as input and would like to persist this in the following format "yyyy/MM/dd HH:mm:ss.SSS" in Elasticsearch. I am performing the following at present in logstash
date {
match => ["mydate", "UNIX_MS"]
target => "mydate"
}
This persist's the date in the following format "2017-01-28T18:08:08.064Z" but i need the format to be "2017/01/28 18:08:08.064"
How do i change this format?
Appreciate your input! Thanks