Invalid format, date is malformed


I am new to Graylog, encountered an error, but failed to resolve it. Please help.

Source log: - - [25/May/2019:18:13:32] “POST / HTTP 1.1” 200 3061 “” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5” 559

Use an extractor to extract the timestamp, and use a date converter to convert the date:

Format string: dd/MM/yyyy:HH:mm:ss

checked the server.log and found this error:

2019-06-18T08:20:26.714Z ERROR [Extractor] Could not apply converter [DATE] of extractor [fd013270-90e7-11e9-a001-000c295591a0].
java.lang.IllegalArgumentException: Invalid format: “25/May/2019:18:20:55” is malformed at “May/2019:18:20:55”
at org.joda.time.format.DateTimeFormatter.parseDateTime( ~[graylog.jar:?]
at org.joda.time.DateTime.parse( ~[graylog.jar:?]
at org.graylog2.inputs.converters.DateConverter.convert( ~[graylog.jar:?]

Anyone can help point the reason? Thanks!!

did you checked what the extractor with the regex outputs?

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