Convert Date String Into Date Format

Hi,

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 ?

Thanks

Hi

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.

Best,
Matthias

Indeed, I reposted it. Thanks

1 Like