I have date string and i need to convert that to date with specific format.
for example: dattime="2017-12-12 11:12:00";
date {
match => [ "dattime", "yyyy-MM-dd HH:mm:ss" ]
target => "dattime"
}
when iam doing this iam getting date in iso 8601 format.
how can i get a date in specific format from a string/ how to format iso 8601 date to other date pattern (custom)
as i am new to logtash facing issues to solve this. please help me.
Thanks in advance