How to convert String to Timestamp

Hi ,

This is sample log statement
[INFO]||datetime:20190218142929801+0530|hostname:sampleHostName|threadId:sampleThread|userId:null|className:SampleClass|methodName:samplemethod

I want to convert datetime(String) field to TimeStamp.
I have tried with
date {
match => ["datetime", "YYYYMMddHHmmssSSSZZZ" ]
target => "datetime"
}
getting _dateparsefailure in tags ,

Thanks in advance.

Please don't post the same question more than once, it makes it harder for people to help you :slight_smile: