Convert Date String Into Date Format


I want to convert a date which is like this :
2020-09-18 15:42:41.5721

To do so, I have tried to use date plugin but it seems that the number of milliseconds is limited ( according to the doc )

    date {
		match => [ "time_stamp", "yyyy-MM-dd HH:mm:ss.SSS"]

So when I use this it doesn't work, can anyone help me ?



This seems to be a logstash question. however you should have a look at the date nanos field type, since normal dates in ES only support milliseconds.


Indeed, I reposted it. Thanks

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.